1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-24 22:14:36 +02:00

[mingw] finally fix broken compilation after rev 3183

This commit is contained in:
alexvins 2013-02-12 15:46:43 +00:00
parent 6ac70d6a0b
commit 506d54478f
2 changed files with 13 additions and 6 deletions

View File

@ -294,6 +294,12 @@ CCallback::CCallback( CGameState * GS, boost::optional<TPlayerColor> Player, CCl
unlockGsWhenWaiting = false;
}
CCallback::~CCallback()
{
//trivial, but required. Don`t remove.
}
const CGPathNode * CCallback::getPathInfo( int3 tile )
{
if (!gs->map->isInTheMap(tile))

View File

@ -102,6 +102,7 @@ private:
public:
CCallback(CGameState * GS, boost::optional<TPlayerColor> Player, CClient *C);
virtual ~CCallback();
//client-specific functionalities (pathfinding)
virtual const CGPathNode *getPathInfo(int3 tile); //uses main, client pathfinder info