From b2fbeb24c42a7879b7b59a3ae454f0e21fbb9054 Mon Sep 17 00:00:00 2001 From: Edward Richardson Date: Sat, 24 Jan 2015 16:09:15 +1300 Subject: [PATCH] DEM_CHANGEMAP2 wasn't properly skipped --- src/d_net.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/d_net.cpp b/src/d_net.cpp index b3e70d410..8ad85d3f8 100644 --- a/src/d_net.cpp +++ b/src/d_net.cpp @@ -2667,7 +2667,9 @@ void Net_SkipCommand (int type, BYTE **stream) case DEM_SUMMONFOE2: skip = strlen ((char *)(*stream)) + 26; break; - + case DEM_CHANGEMAP2: + skip = strlen((char *)(*stream + 1)) + 2; + break; case DEM_MUSICCHANGE: case DEM_PRINT: case DEM_CENTERPRINT: