Fixed zoomed tile/player not fitting unzoomed.
This commit is contained in:
parent
2b2891bd0a
commit
a08edc3fa9
3 changed files with 6 additions and 13 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue