From 3900381565c5c3d11dbed1885cc2ae30c2802e56 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 8 Oct 2009 07:30:20 +0000 Subject: [PATCH] - fixed: Teleport_EndGame did not set the end sequence name properly. SVN r1899 (trunk) --- docs/rh-log.txt | 3 +++ src/g_level.cpp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 8e7041a9ef..5290e897af 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -1,3 +1,6 @@ +October 8, 2009 (Changes by Graf Zahl) +- fixed: Teleport_EndGame did not set the end sequence name properly. + October 7, 2009 - Since I am currently without a primary video card and stuck with this Mobility Radeon 9000 (on a PCI card, no less!), I have decided to give the diff --git a/src/g_level.cpp b/src/g_level.cpp index bb0b9b48cd..948e89b63f 100644 --- a/src/g_level.cpp +++ b/src/g_level.cpp @@ -168,7 +168,7 @@ static void SetEndSequence (char *nextmap, int type) newseq.EndType = type; seqnum = (int)EndSequences.Push (newseq); } - mysnprintf(nextmap, sizeof(nextmap), "enDSeQ%04x", (WORD)seqnum); + mysnprintf(nextmap, 11, "enDSeQ%04x", (WORD)seqnum); } //==========================================================================