mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-28 23:06:24 +02:00
Fix for bug introduced in r937.
This commit is contained in:
parent
3e00e68e50
commit
b1c9b17327
@ -807,7 +807,7 @@ SDL_Surface * CMapHandler::terrainRect(int x, int y, int dx, int dy, int level,
|
||||
sr.y = sry;
|
||||
sr.h = sr.w = 32;
|
||||
|
||||
if(smooth)
|
||||
if(!smooth)
|
||||
validateRectTerr(&sr, extRect);
|
||||
|
||||
if(bx+x>=0 && by+y>=0 && bx+x<CGI->mh->map->width && by+y<CGI->mh->map->height && !(*visibilityMap)[bx+x][by+y][level])
|
||||
|
Loading…
Reference in New Issue
Block a user