mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-15 20:03:15 +02:00
Fix crash on hovering prison
This commit is contained in:
@@ -472,7 +472,7 @@ std::string CGHeroInstance::getObjectName() const
|
|||||||
return hoverName;
|
return hoverName;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
return CGObjectInstance::getObjectName();
|
return VLC->objtypeh->getObjectName(ID, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
ui8 CGHeroInstance::maxlevelsToMagicSchool() const
|
ui8 CGHeroInstance::maxlevelsToMagicSchool() const
|
||||||
|
Reference in New Issue
Block a user