From ee056f1ea7a5c8d4fbfbed6ca08bd140b06381ec Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Thu, 4 Feb 1999 02:03:10 +0100 Subject: [PATCH] rnd-19990204-1 --- src/game.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game.c b/src/game.c index f51b2dc4..fada15db 100644 --- a/src/game.c +++ b/src/game.c @@ -560,10 +560,10 @@ void InitGame() SBY_Lower = lev_fieldy - SCR_FIELDY + 1; } - if (lev_fieldx < SCR_FIELDX) + if (lev_fieldx + (SBX_Left == -1 ? 2 : 0) <= SCR_FIELDX) SBX_Left = SBX_Right = -1 * (SCR_FIELDX - lev_fieldx) / 2; - if (lev_fieldy < SCR_FIELDY) + if (lev_fieldy + (SBY_Upper == -1 ? 2 : 0) <= SCR_FIELDY) SBY_Upper = SBY_Lower = -1 * (SCR_FIELDY - lev_fieldy) / 2; scroll_x = SBX_Left; -- 2.34.1