diff --git a/sc2/src/sc2code/process.c b/sc2/src/sc2code/process.c index e911d1d72..55f20ec98 100644 --- a/sc2/src/sc2code/process.c +++ b/sc2/src/sc2code/process.c @@ -287,8 +287,8 @@ CalcView (PPOINT pNewScrollPt, SIZE next_reduction, dy = WRAP_DELTA_Y (dy); if (ships_alive == 1) { -#define ORG_JUMP_X (LOG_SPACE_WIDTH / 75) -#define ORG_JUMP_Y (LOG_SPACE_HEIGHT / 75) +#define ORG_JUMP_X ((SIZE)DISPLAY_ALIGN(LOG_SPACE_WIDTH / 75)) +#define ORG_JUMP_Y ((SIZE)DISPLAY_ALIGN(LOG_SPACE_HEIGHT / 75)) if (dx > ORG_JUMP_X) dx = ORG_JUMP_X; else if (dx < -ORG_JUMP_X)