mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
vcmi: remove ALL_CREATURES propagator
Now unneded, because it handled by GLOBAL_EFFECT with CREATURE_LEVEL_LIMITER (when range set to UINT_MIN and UINT_MAX).
This commit is contained in:
@ -187,6 +187,7 @@ std::string PlayerColor::getStrCap(bool L10n) const
|
||||
return ret;
|
||||
}
|
||||
|
||||
const FactionID FactionID::NONE = FactionID(-2);
|
||||
const FactionID FactionID::ANY = FactionID(-1);
|
||||
const FactionID FactionID::CASTLE = FactionID(0);
|
||||
const FactionID FactionID::RAMPART = FactionID(1);
|
||||
@ -205,7 +206,7 @@ si32 FactionID::decode(const std::string & identifier)
|
||||
if(rawId)
|
||||
return rawId.get();
|
||||
else
|
||||
return -1;
|
||||
return FactionID::ANY;
|
||||
}
|
||||
|
||||
std::string FactionID::encode(const si32 index)
|
||||
|
Reference in New Issue
Block a user