1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

- Fixed GCC compiler warnings

- Implemented move heroes to next scenario partially
This commit is contained in:
beegee1
2013-12-20 13:07:58 +00:00
parent 6b3ca831c1
commit 68bdf71db6
14 changed files with 222 additions and 198 deletions

View File

@@ -108,7 +108,7 @@ public:
//client-specific functionalities (pathfinding)
virtual const CGPathNode *getPathInfo(int3 tile); //uses main, client pathfinder info
virtual const int getDistance(int3 tile);
virtual int getDistance(int3 tile);
virtual bool getPath2(int3 dest, CGPath &ret); //uses main, client pathfinder info
virtual void calculatePaths(const CGHeroInstance *hero, CPathsInfo &out, int3 src = int3(-1,-1,-1), int movement = -1);