From 8996572f5517f83d0f9ea43b5d5121cb8e25df39 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 30 Mar 2008 15:47:32 +0000 Subject: fixed tiling error when using sides that are just 1 tile thick --- src/game/client/gc_render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/game/client/gc_render.cpp b/src/game/client/gc_render.cpp index 33187f62..91986b6f 100644 --- a/src/game/client/gc_render.cpp +++ b/src/game/client/gc_render.cpp @@ -404,7 +404,7 @@ void render_tilemap_generate_skip() TILE *tiles = (TILE *)map_get_data(tmap->data); for(int y = 0; y < tmap->height; y++) { - for(int x = 0; x < tmap->width; x++) + for(int x = 1; x < tmap->width; x++) { int sx; for(sx = 1; x+sx < tmap->width && sx < 255; sx++) -- cgit 1.4.1