diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-12 23:53:39 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-12 23:53:39 +0000 |
| commit | 24969cd0efa675d399b4a5b97077b7c8d06b5fec (patch) | |
| tree | 9ab9f3b69646fbb11a852710fcae7a57b2e45dda /src/game/client/gc_render_map.cpp | |
| parent | 0883fc3dfd51d8dda9a9dc055400871057cfe3a2 (diff) | |
| download | zcatch-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.cpp | 2 |
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(); |