about summary refs log tree commit diff
path: root/src/game/client/gc_render_map.cpp
diff options
context:
space:
mode:
authorMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-12 23:53:39 +0000
committerMagnus Auvinen <magnus.auvinen@gmail.com>2008-03-12 23:53:39 +0000
commit24969cd0efa675d399b4a5b97077b7c8d06b5fec (patch)
tree9ab9f3b69646fbb11a852710fcae7a57b2e45dda /src/game/client/gc_render_map.cpp
parent0883fc3dfd51d8dda9a9dc055400871057cfe3a2 (diff)
downloadzcatch-24969cd0efa675d399b4a5b97077b7c8d06b5fec.tar.gz
zcatch-24969cd0efa675d399b4a5b97077b7c8d06b5fec.zip
tilemap skip optimizating
Diffstat (limited to 'src/game/client/gc_render_map.cpp')
-rw-r--r--src/game/client/gc_render_map.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/game/client/gc_render_map.cpp b/src/game/client/gc_render_map.cpp
index d5e7f1a0..8693ed18 100644
--- a/src/game/client/gc_render_map.cpp
+++ b/src/game/client/gc_render_map.cpp
@@ -237,6 +237,8 @@ void render_tilemap(TILE *tiles, int w, int h, float scale, vec4 color, int flag
 
 				gfx_quads_drawTL(x*scale, y*scale, scale, scale);
 			}
+			
+			x += tiles[c].skip;
 		}
 	
 	gfx_quads_end();