about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-30 15:47:32 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-30 15:47:32 +0000
commit8996572f5517f83d0f9ea43b5d5121cb8e25df39 (patch)
tree9130b64692ab83c74b496fbb1577b89e9a3253d3 /src/game/client
parent8ac1164a89cf3d004c7d195ef70a450239c073f5 (diff)
downloadzcatch-8996572f5517f83d0f9ea43b5d5121cb8e25df39.tar.gz
zcatch-8996572f5517f83d0f9ea43b5d5121cb8e25df39.zip
fixed tiling error when using sides that are just 1 tile thick
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/gc_render.cpp2
1 files changed, 1 insertions, 1 deletions
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++)