diff --git a/desktop_version/src/editor.cpp b/desktop_version/src/editor.cpp index cda9edc6..f3e1db8e 100644 --- a/desktop_version/src/editor.cpp +++ b/desktop_version/src/editor.cpp @@ -2688,7 +2688,7 @@ void editorrender() drawRect = graphics.tiles_rect; drawRect.x += tpoint.x; drawRect.y += tpoint.y; - for (int i = 0; i < 4; i++) { + for (int j = 0; j < 4; j++) { if (custom_gray) BlitSurfaceTinted(graphics.entcolours[obj.customplatformtile],NULL, graphics.backBuffer, &drawRect, gray_ct); else BlitSurfaceStandard(graphics.entcolours[obj.customplatformtile],NULL, graphics.backBuffer, &drawRect); drawRect.x += 8; @@ -2721,7 +2721,7 @@ void editorrender() drawRect = graphics.tiles_rect; drawRect.x += tpoint.x; drawRect.y += tpoint.y; - for (int i = 0; i < 4; i++) { + for (int j = 0; j < 4; j++) { if (custom_gray) BlitSurfaceTinted(graphics.entcolours[obj.customplatformtile],NULL, graphics.backBuffer, &drawRect, gray_ct); else BlitSurfaceStandard(graphics.entcolours[obj.customplatformtile],NULL, graphics.backBuffer, &drawRect); drawRect.x += 8; @@ -2749,7 +2749,7 @@ void editorrender() drawRect = graphics.tiles_rect; drawRect.x += tpoint.x; drawRect.y += tpoint.y; - for (int i = 0; i < 4; i++) { + for (int j = 0; j < 4; j++) { if (custom_gray) BlitSurfaceTinted(graphics.entcolours[obj.customplatformtile],NULL, graphics.backBuffer, &drawRect, gray_ct); else BlitSurfaceStandard(graphics.entcolours[obj.customplatformtile],NULL, graphics.backBuffer, &drawRect); drawRect.x += 8;