From 1f5cf234184dff1c2e9956d16711d4dfdfa24c26 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 25 Feb 2009 23:25:47 +0000 Subject: [PATCH] - fixed: nextmap and nextsecret CCMDs set skill to 0. SVN r1449 (trunk) --- docs/rh-log.txt | 1 + src/c_cmds.cpp | 4 ++-- src/s_sound.cpp | 1 - 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index f41067cd92..ec728202a8 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,4 +1,5 @@ February 25, 2009 (Changes by Graf Zahl) +- fixed: nextmap and nextsecret CCMDs set skill to 0. - fixed: level.flags2 was not stored in savegames. Also bumped min. savegame version and removed old compatibility handlings. diff --git a/src/c_cmds.cpp b/src/c_cmds.cpp index b557b3ebbb..550d681a8f 100644 --- a/src/c_cmds.cpp +++ b/src/c_cmds.cpp @@ -865,7 +865,7 @@ CCMD(nextmap) if (next != NULL && strncmp(next, "enDSeQ", 6)) { - G_DeferedInitNew(next, false); + G_DeferedInitNew(next); } else { @@ -886,7 +886,7 @@ CCMD(nextsecret) if (next != NULL && strncmp(next, "enDSeQ", 6)) { - G_DeferedInitNew(next, false); + G_DeferedInitNew(next); } else { diff --git a/src/s_sound.cpp b/src/s_sound.cpp index ce604f5fe8..20b7cafc60 100644 --- a/src/s_sound.cpp +++ b/src/s_sound.cpp @@ -2012,7 +2012,6 @@ static FArchive &operator<<(FArchive &arc, FSoundChan &chan) << chan.Rolloff.MinDistance << chan.Rolloff.MaxDistance << chan.LimitRange; - } if (arc.IsLoading()) {