DEADSOFTWARE

correctly freeing dynrecords; as a consequence, no more memory leaks in custom game...
[d2df-sdl.git] / src / game / g_gfx.pas
index 47c638c8e3bf79d92738398d24e1719f936549c7..e49a72cdaf286758c9a048d96a40b7e26259f3bd 100644 (file)
@@ -868,6 +868,7 @@ begin
       begin
         pan := g_Map_PanelAtPoint(x, y, GridTagObstacle);
       end;
+      if (pan <> nil) then continue;
       env := TEnvType.EAir;
 
       // color