From b1c9b17327d49b8a4fbad35d277d54ff73b71d1b Mon Sep 17 00:00:00 2001 From: Frank Zago Date: Sat, 6 Jun 2009 19:47:25 +0000 Subject: [PATCH] Fix for bug introduced in r937. --- mapHandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mapHandler.cpp b/mapHandler.cpp index 8b3fc5329..c10f03488 100644 --- a/mapHandler.cpp +++ b/mapHandler.cpp @@ -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+xmh->map->width && by+ymh->map->height && !(*visibilityMap)[bx+x][by+y][level])