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