* fixed incorrectly blocked positions reported by Warmonger ( http://vcmi.antypika.aplus.pl/forum/viewtopic.php?p=3396#3396 )

This commit is contained in:
mateuszb
2009-08-29 16:22:34 +00:00
parent 03b91b1ed7
commit 4743bff359
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ BATTLE OBSTACLES
17 OBDSM02.DEF XXLNX 1111100000000010000000100
18 OBDSS17.DEF XXLNXXX 1111100000000010000000100
11 OBDTF03.DEF XX 1111100000000010000000100
12 OBDTS03.DEF XXXX 1111100000000010000000100
12 OBDTS03.DEF LLNXXXX 1111100000000010000000100
13 OBDTS04.DEF LNXX 1111100000000010000000100
14 OBDTS14.DEF XXLNNX 1111100000000010000000100
15 OBDTS15.DEF XLXLNX 1111100000000010000000100
+1 -1
View File
@@ -301,7 +301,7 @@ void BattleInfo::getAccessibilityMap(bool *accessibility, bool twoHex, bool atta
}
//walls
if(siege >= 0)
if(siege > 0)
{
static const int permanentlyLocked[] = {12, 45, 78, 112, 147, 182};
for(int b=0; b<ARRAY_COUNT(permanentlyLocked); ++b)