From: Holger Schemel Date: Wed, 3 Jan 2018 19:37:30 +0000 (+0100) Subject: fixed cheat for loading solution tape for Supaplex style levels with demo X-Git-Tag: 4.0.1.1~25 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=714fef0f666caf3561dfa0f7de5522f89e943e73;p=rocksndiamonds.git fixed cheat for loading solution tape for Supaplex style levels with demo --- diff --git a/src/tape.c b/src/tape.c index f8e6a5e0..71addab3 100644 --- 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);