Forgot else statement
Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com> Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
This commit is contained in:
parent
62e2c75f00
commit
20bedae890
@ -62,7 +62,7 @@ public class Player extends Object{
|
||||
lastCameraView=currentView;
|
||||
newX=(tileX/Tile.TILE_SCREEN_COUNT_X)*Map.MAP_WIDTH;
|
||||
newY=(tileY/Tile.TILE_SCREEN_COUNT_Y)*Map.MAP_HEIGHT;
|
||||
}
|
||||
} else
|
||||
switch (currentView) {
|
||||
case LIGHT_FOLLOW:
|
||||
if (getX()-RabiClone.level_renderer.getX()<viewBoundaryX) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user