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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user