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