mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-05 13:04:54 +02:00
Fix moat rendering position
This commit is contained in:
parent
de5616bb3b
commit
6d4bcba842
@ -250,10 +250,10 @@ void CBattleSiegeController::gateStateChanged(const EGateState state)
|
||||
void CBattleSiegeController::showAbsoluteObstacles(std::shared_ptr<CCanvas> canvas, const Point & offset)
|
||||
{
|
||||
if (getWallPieceExistance(EWallVisual::MOAT))
|
||||
showWallPiece(canvas, EWallVisual::MOAT, owner->pos.topLeft());
|
||||
showWallPiece(canvas, EWallVisual::MOAT, offset);
|
||||
|
||||
if (getWallPieceExistance(EWallVisual::MOAT_BANK))
|
||||
showWallPiece(canvas, EWallVisual::MOAT_BANK, owner->pos.topLeft());
|
||||
showWallPiece(canvas, EWallVisual::MOAT_BANK, offset);
|
||||
}
|
||||
|
||||
void CBattleSiegeController::showBattlefieldObjects(std::shared_ptr<CCanvas> canvas, const BattleHex & location )
|
||||
|
Loading…
x
Reference in New Issue
Block a user