1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Better handling of after-battle callbacks. Looks messy, but works.

This commit is contained in:
DjWarmonger
2011-07-17 12:53:06 +00:00
parent 16e7241fbd
commit 096e77333f
2 changed files with 45 additions and 21 deletions

View File

@@ -184,6 +184,7 @@ public:
void vistiCastleObjects (const CGTownInstance *t, const CGHeroInstance *h);
void levelUpHero(int ID, int skill);//handle client respond and send one more request if needed
void levelUpHero(int ID);//initial call - check if hero have remaining levelups & handle them
void afterBattleCallback(int ID); // called after level-ups are finished, ID is just temporarily for compatibility
//////////////////////////////////////////////////////////////////////////
void commitPackage(CPackForClient *pack) OVERRIDE;