diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-10-29 19:19:48 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2007-10-29 19:19:48 +0000 |
| commit | f724ab006c3ca882c3a66c6af0df60d666610895 (patch) | |
| tree | 05fcd139b171179ad5b8ce78b27d2a7567f23c28 /src | |
| parent | 5ae7db0c54ebadcfdaa040ff97e62f260e95436a (diff) | |
| download | zcatch-f724ab006c3ca882c3a66c6af0df60d666610895.tar.gz zcatch-f724ab006c3ca882c3a66c6af0df60d666610895.zip | |
minor error in tilemap rendering fixed :D
Diffstat (limited to 'src')
| -rw-r--r-- | src/game/client/mapres_tilemap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/mapres_tilemap.cpp b/src/game/client/mapres_tilemap.cpp index 822e2d8c..4b0830b0 100644 --- a/src/game/client/mapres_tilemap.cpp +++ b/src/game/client/mapres_tilemap.cpp @@ -72,8 +72,8 @@ void tilemap_render(float scale, int fg) float u0 = nudge + px0/texsize+frac; float v0 = nudge + py0/texsize+frac; - float u1 = nudge + px1/texsize+frac; - float v1 = nudge + py1/texsize+frac; + float u1 = nudge + px1/texsize-frac; + float v1 = nudge + py1/texsize-frac; if(f&TILEFLAG_VFLIP) { |