mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-22 00:27:58 +02:00
* fixed possible freeze when applying changes in gamestate
* it's impossible to enter not owned town * giving starting bonus * other improvements
This commit is contained in:
@@ -64,7 +64,7 @@ void CScriptCallback::changePrimSkill(int ID, int which, int val, bool abs)
|
||||
gh->changePrimSkill(ID, which, val, abs);
|
||||
}
|
||||
|
||||
int CScriptCallback::getHeroOwner(int heroID)
|
||||
int CScriptCallback::getOwner(int heroID)
|
||||
{
|
||||
return gh->gs->map->objects[heroID]->tempOwner;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user