mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-16 22:58:09 +00:00
small buglet
svn-id: r7157
This commit is contained in:
parent
8fdf6e9242
commit
e85cbeb386
@ -138,7 +138,7 @@ uint16 SkyAutoRoute::autoRoute(Compact *cpt, uint16 *routeCalc) {
|
||||
|
||||
if (cpt->xcood < TOP_LEFT_X) {
|
||||
initX = cpt->xcood - TOP_LEFT_X;
|
||||
initBlockY = 0;
|
||||
initBlockX = 0;
|
||||
} else if (cpt->xcood - TOP_LEFT_X >= GAME_SCREEN_WIDTH) { // no_init_x1
|
||||
initX = cpt->xcood - TOP_LEFT_X - (GAME_SCREEN_WIDTH - 1); // -1 to match amiga
|
||||
initBlockX = (GAME_SCREEN_WIDTH - 1) >> 3;
|
||||
|
Loading…
Reference in New Issue
Block a user