projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c76f4a
)
rnd-19990204-1
author
Holger Schemel
<info@artsoft.org>
Thu, 4 Feb 1999 01:03:10 +0000
(
02:03
+0100)
committer
Holger Schemel
<info@artsoft.org>
Sat, 30 Aug 2014 08:33:27 +0000
(10:33 +0200)
src/game.c
patch
|
blob
|
history
diff --git
a/src/game.c
b/src/game.c
index f51b2dc48ab3d13ed1bddd881935af1974ba8e7b..fada15db70f1733e76a78b67ac8cfdfea807e05f 100644
(file)
--- 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;