1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-01 23:12:49 +02:00

Advanced work on support for Quicksand and Land Mine spells.

This commit is contained in:
Michał W. Urbańczyk
2012-05-04 21:16:39 +00:00
parent f6d6b3cba2
commit 5449546447
19 changed files with 383 additions and 47 deletions

View File

@@ -910,6 +910,17 @@ void CPlayerInterface::battleAttack(const BattleAttack *ba)
}
}
void CPlayerInterface::battleObstaclesPlaced(const CObstacleInstance &obstacle)
{
EVENT_HANDLER_CALLED_BY_CLIENT;
if(LOCPLINT != this)
{ //another local interface should do this
return;
}
battleInt->obstaclePlaced(obstacle);
}
void CPlayerInterface::yourTacticPhase(int distance)
{
THREAD_CREATED_BY_CLIENT;