1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

* battle should now end automatically when last stack of one of sides is killed by a spell

* minor changes
This commit is contained in:
mateuszb
2009-09-28 14:21:48 +00:00
parent 03f2137cab
commit 7382314dfd
8 changed files with 39 additions and 16 deletions

View File

@ -335,7 +335,7 @@ public:
void init(StartInfo * si, Mapa * map, int Seed);
void loadTownDInfos();
void randomizeObject(CGObjectInstance *cur);
std::pair<int,int> pickObject(CGObjectInstance *obj);
std::pair<int,int> pickObject(CGObjectInstance *obj); //chooses type of object to be randomized, returns <type, subtype>
int pickHero(int owner);
void apply(CPack *pack);
CGHeroInstance *getHero(int objid);