1
0
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:
Michał W. Urbańczyk
2008-08-25 21:14:00 +00:00
parent 6613955463
commit ce6a9ae374
17 changed files with 150 additions and 304 deletions

View File

@@ -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;
}