projects
/
rocksndiamonds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d08e78f
)
fixed cheat for loading solution tape for Supaplex style levels with demo
author
Holger Schemel
<info@artsoft.org>
Wed, 3 Jan 2018 19:37:30 +0000
(20:37 +0100)
committer
Holger Schemel
<info@artsoft.org>
Wed, 3 Jan 2018 19:37:30 +0000
(20:37 +0100)
src/tape.c
patch
|
blob
|
history
diff --git
a/src/tape.c
b/src/tape.c
index f8e6a5e0594214d8f29f372d70023398113b04e2..71addab34829a8c1eab0a7152e98c384df1a35e7 100644
(file)
--- a/
src/tape.c
+++ b/
src/tape.c
@@
-1066,7
+1066,10
@@
void TapeQuickLoad()
void InsertSolutionTape()
{
- if (!fileExists(getSolutionTapeFilename(level_nr)))
+ boolean level_has_tape = (level.game_engine_type == GAME_ENGINE_TYPE_SP &&
+ level.native_sp_level->demo.is_available);
+
+ if (!fileExists(getSolutionTapeFilename(level_nr)) && !level_has_tape)
{
Request("No solution tape for this level!", REQ_CONFIRM);