Fixed zoomed tile/player not fitting unzoomed.

This commit is contained in:
FrozenCow 2011-01-10 00:31:44 +01:00
parent 2b2891bd0a
commit a08edc3fa9
3 changed files with 6 additions and 13 deletions

View file

@ -48,10 +48,10 @@ public class ZoomedTileRenderer {
int sch = KzedMap.tileHeight / 2;
/* origin in zoomed-out tile */
int ox = scw;
int ox = 0;
int oy = 0;
if(zpx != px) ox = 0;
if(zpx != px) ox = scw;
if(zpy != py) oy = sch;
/* blit scaled rendered tile onto zoom-out tile */