mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fix debug build
This commit is contained in:
@@ -129,7 +129,6 @@ void Moat::placeObstacles(ServerCallback * server, const Mechanics * m, const Ef
|
|||||||
{
|
{
|
||||||
assert(m->battle()->battleGetDefendedTown());
|
assert(m->battle()->battleGetDefendedTown());
|
||||||
assert(m->casterSide == BattleSide::DEFENDER); // Moats are always cast by defender
|
assert(m->casterSide == BattleSide::DEFENDER); // Moats are always cast by defender
|
||||||
assert(turnsRemaining < 0); // Moats should lasts infininte number of turns
|
|
||||||
|
|
||||||
BattleObstaclesChanged pack;
|
BattleObstaclesChanged pack;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user