1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-26 03:52:01 +02:00

Fix potential assertion failure on map load

This commit is contained in:
Ivan Savenko 2023-01-21 15:57:25 +02:00
parent a19c9eccc4
commit 9565cae3cb

View File

@ -1000,7 +1000,8 @@ std::string CGHeroInstance::getNameTextID() const
if (type)
return type->getNameTextID();
assert(0);
// FIXME: called by logging from some specialties (mods?) before type is set on deserialization
// assert(0);
return "";
}