1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-15 00:05:02 +02:00

Implemented Summon Boat spell.

This commit is contained in:
Michał W. Urbańczyk
2010-03-10 23:16:30 +00:00
parent 658a560698
commit ad841f7fea
14 changed files with 250 additions and 37 deletions

View File

@ -107,8 +107,7 @@ void FoWChange::applyCl( CClient *cl )
else
cl->playerint[player]->tileHidden(tiles);
if (cl->IGameCallback::getSelectedHero(player))//if we have selected hero...
GS(cl)->calculatePaths(cl->IGameCallback::getSelectedHero(player), *cl->pathInfo);
cl->updatePaths();
}
void SetAvailableHeroes::applyCl( CClient *cl )
@ -146,6 +145,8 @@ void ChangeObjPos::applyCl( CClient *cl )
CGObjectInstance *obj = GS(cl)->map->objects[objid];
if(flags & 1)
CGI->mh->printObject(obj);
cl->updatePaths();
}
void PlayerEndsGame::applyCl( CClient *cl )