1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-25 22:42:04 +02:00

1.Pandora and Event now give experience correctly

2.Better, but not complete handling for big exp values
This commit is contained in:
DjWarmonger
2009-08-17 10:02:29 +00:00
parent 495f7d0b06
commit fbc117b034
7 changed files with 12 additions and 8 deletions

View File

@@ -1575,7 +1575,7 @@ int CGameHandler::getSelectedHero()
return IGameCallback::getSelectedHero(getCurrentPlayer())->id;
}
void CGameHandler::setObjProperty( int objid, int prop, int val )
void CGameHandler::setObjProperty( int objid, int prop, si64 val )
{
SetObjectProperty sob;
sob.id = objid;