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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user