1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

#41 - Implemented Castle Gates

#375, #376 - fixed recruit window 
#362, #377 - fixed town window
This commit is contained in:
Ivan Savenko
2010-06-30 19:27:35 +00:00
parent 1159750bb6
commit 60c90af39c
11 changed files with 139 additions and 61 deletions

View File

@@ -59,6 +59,13 @@ bool MoveHero::applyGh( CGameHandler *gh )
return gh->moveHero(hid,dest,0,gh->getPlayerAt(c));
}
bool CastleTeleportHero::applyGh( CGameHandler *gh )
{
ERROR_IF_NOT_OWNS(hid);
return gh->teleportHero(hid,dest,source,gh->getPlayerAt(c));
}
bool ArrangeStacks::applyGh( CGameHandler *gh )
{
//checks for owning in the gh func