From 24969cd0efa675d399b4a5b97077b7c8d06b5fec Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Wed, 12 Mar 2008 23:53:39 +0000 Subject: tilemap skip optimizating --- src/game/client/gc_render_map.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/client/gc_render_map.cpp') 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(); -- cgit 1.4.1