From: Holger Schemel Date: Mon, 8 Jan 2018 18:56:14 +0000 (+0100) Subject: fixed bug which could cause saving tapes with a wrong level number filename X-Git-Tag: 4.0.1.1~21 X-Git-Url: https://git.artsoft.org/?a=commitdiff_plain;h=3413f120c3ff15eeaa855d0efc586514a0b6dcd3;p=rocksndiamonds.git fixed bug which could cause saving tapes with a wrong level number filename --- diff --git a/src/tape.c b/src/tape.c index 71addab3..831659b6 100644 --- a/src/tape.c +++ b/src/tape.c @@ -1394,7 +1394,7 @@ static void HandleTapeButtonsExt(int id) else { if (tape.changed) - SaveTapeChecked(tape.level_nr); + SaveTapeChecked(level_nr); TapeErase(); }