1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-21 00:19:29 +02:00

- fixed battle obstacles positioning (#769)

- removed unused Makefile.amiga and Makefile.x
This commit is contained in:
Ivan Savenko
2012-02-22 12:44:46 +00:00
parent fd625fe87d
commit 08417cd42a
4 changed files with 2 additions and 169 deletions

View File

@ -107,7 +107,7 @@ std::vector<BattleHex> CObstacleInfo::getBlocked(BattleHex hex) const
break;
case 'L':
cur = curBeg + GameConstants::BFIELD_WIDTH;
if((cur/GameConstants::BFIELD_WIDTH)%2 == 1)
if((cur/GameConstants::BFIELD_WIDTH)%2 != 1)
{
cur--;
}