Remove [stoned]->[petrified] compatibility hack. Do not bump min_savegame.

This commit is contained in:
Alexander van Gessel 2009-07-31 14:31:18 +01:00
parent c735bc01a0
commit 4143d6f5d8

View File

@ -2669,15 +2669,7 @@ void unit::add_modification(const std::string& type, const config& mod, bool no_
const std::string &remove = effect["remove"];
if(add.empty() == false) {
// FIXME: 1.6 compatibility hack
// Remove after 1.7.2
// (and bump min_savegame))
if (add == "stoned") {
set_state("petrified","yes");;
lg::wml_error << "Usage of 'stoned' is deprecated use 'petrify' instead, "
"support will be removed in 1.7.2.\n";
} else
set_state(add,"yes");
set_state(add,"yes");
}
if(remove.empty() == false) {