mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-03 00:46:55 +02:00
Probably fixed bug with map border rendering in rectangular maps
This commit is contained in:
@ -207,7 +207,7 @@ void CMapHandler::borderAndTerrainBitmapInit()
|
|||||||
terBitmapNum = 17;
|
terBitmapNum = 17;
|
||||||
else if(i==(sizes.x) && j==(sizes.y))
|
else if(i==(sizes.x) && j==(sizes.y))
|
||||||
terBitmapNum = 18;
|
terBitmapNum = 18;
|
||||||
else if(j == -1 && i > -1 && i < sizes.y)
|
else if(j == -1 && i > -1 && i < sizes.x)
|
||||||
terBitmapNum = rand.nextInt(22, 23);
|
terBitmapNum = rand.nextInt(22, 23);
|
||||||
else if(i == -1 && j > -1 && j < sizes.y)
|
else if(i == -1 && j > -1 && j < sizes.y)
|
||||||
terBitmapNum = rand.nextInt(33, 34);
|
terBitmapNum = rand.nextInt(33, 34);
|
||||||
|
Reference in New Issue
Block a user