mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-03 13:01:33 +02:00
Probably fixed bug with map border rendering in rectangular maps
This commit is contained in:
parent
46d92f11cb
commit
47639832b1
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user