Fixes part of bug #685 (Sa-matra turret bop in step-zoom)
git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@1610 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
@@ -287,8 +287,8 @@ CalcView (PPOINT pNewScrollPt, SIZE next_reduction,
|
|||||||
dy = WRAP_DELTA_Y (dy);
|
dy = WRAP_DELTA_Y (dy);
|
||||||
if (ships_alive == 1)
|
if (ships_alive == 1)
|
||||||
{
|
{
|
||||||
#define ORG_JUMP_X (LOG_SPACE_WIDTH / 75)
|
#define ORG_JUMP_X ((SIZE)DISPLAY_ALIGN(LOG_SPACE_WIDTH / 75))
|
||||||
#define ORG_JUMP_Y (LOG_SPACE_HEIGHT / 75)
|
#define ORG_JUMP_Y ((SIZE)DISPLAY_ALIGN(LOG_SPACE_HEIGHT / 75))
|
||||||
if (dx > ORG_JUMP_X)
|
if (dx > ORG_JUMP_X)
|
||||||
dx = ORG_JUMP_X;
|
dx = ORG_JUMP_X;
|
||||||
else if (dx < -ORG_JUMP_X)
|
else if (dx < -ORG_JUMP_X)
|
||||||
|
|||||||
Reference in New Issue
Block a user