projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50e762b
)
added special level file flag to force using BD engine (experimental)
author
Holger Schemel
<info@artsoft.org>
Sun, 11 Feb 2024 13:53:02 +0000
(14:53 +0100)
committer
Holger Schemel
<info@artsoft.org>
Sun, 18 Feb 2024 14:57:43 +0000
(15:57 +0100)
src/files.c
patch
|
blob
|
history
diff --git
a/src/files.c
b/src/files.c
index 6944fbaf266f3e84116c84de19f4243c646d1bd6..a81a3f060eb5fb6c779404a29da9c2e9f1569326 100644
(file)
--- a/
src/files.c
+++ b/
src/files.c
@@
-6563,6
+6563,9
@@
static void LoadLevelFromFileInfo(struct LevelInfo *level,
if (level->no_valid_file)
setLevelInfoToDefaults(level, level_info_only, FALSE);
+ if (check_special_flags("use_native_bd_game_engine"))
+ level->game_engine_type = GAME_ENGINE_TYPE_BD;
+
if (level->game_engine_type == GAME_ENGINE_TYPE_UNKNOWN)
level->game_engine_type = GAME_ENGINE_TYPE_RND;