projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10406b9
)
added compatibility check if Sokoban objects need to be solved
author
Holger Schemel
<info@artsoft.org>
Mon, 29 Oct 2018 19:49:41 +0000
(20:49 +0100)
committer
Holger Schemel
<info@artsoft.org>
Mon, 29 Oct 2018 19:49:41 +0000
(20:49 +0100)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index 58af05974d722b160b2db2860372a23d99b070a6..f6cc17315a839a0d4954209859fd97cd218e407d 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-6330,6
+6330,10
@@
static void LoadLevel_InitVersion(struct LevelInfo *level)
if (level->game_version < VERSION_IDENT(4,1,1,1))
level->use_life_bugs = TRUE;
+ // only Sokoban fields (but not objects) had to be solved before 4.1.1.1
+ if (level->game_version < VERSION_IDENT(4,1,1,1))
+ level->sb_objects_needed = FALSE;
+
if (level->game_version < VERSION_IDENT(3,2,0,7))
{
// default behaviour for snapping was "not continuous" before 3.2.0-7