From 9c24e9ac71abeb892d5ca47fff9d2093757b5349 Mon Sep 17 00:00:00 2001 From: MajorCooke Date: Tue, 11 Aug 2015 06:53:28 -0500 Subject: [PATCH] - Removed the check for APlayerPawn and just went with player checking alone. - Updated the savever, demogameversion, and mindemoversion. --- src/d_net.cpp | 3 ++- src/version.h | 6 +++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/d_net.cpp b/src/d_net.cpp index 66b8c5dc33..e6b5713f2b 100644 --- a/src/d_net.cpp +++ b/src/d_net.cpp @@ -2095,7 +2095,7 @@ static int RemoveClass(const PClass *cls) if (actor->IsA(cls)) { // [MC]Do not remove LIVE players. - if (actor->IsKindOf(RUNTIME_CLASS(APlayerPawn)) && actor->player != NULL) + if (actor->player != NULL) { player = true; continue; @@ -2728,6 +2728,7 @@ void Net_SkipCommand (int type, BYTE **stream) case DEM_SUMMONFRIEND: case DEM_SUMMONFOE: case DEM_SUMMONMBF: + case DEM_REMOVE: case DEM_SPRAY: case DEM_MORPHEX: case DEM_KILLCLASSCHEAT: diff --git a/src/version.h b/src/version.h index 3d28dd2ac3..913c9bd181 100644 --- a/src/version.h +++ b/src/version.h @@ -61,11 +61,11 @@ const char *GetVersionString(); // Protocol version used in demos. // Bump it if you change existing DEM_ commands or add new ones. // Otherwise, it should be safe to leave it alone. -#define DEMOGAMEVERSION 0x21B +#define DEMOGAMEVERSION 0x21C // Minimum demo version we can play. // Bump it whenever you change or remove existing DEM_ commands. -#define MINDEMOVERSION 0x21B +#define MINDEMOVERSION 0x21C // SAVEVER is the version of the information stored in level snapshots. // Note that SAVEVER is not directly comparable to VERSION. @@ -76,7 +76,7 @@ const char *GetVersionString(); // Use 4500 as the base git save version, since it's higher than the // SVN revision ever got. -#define SAVEVER 4523 +#define SAVEVER 4524 #define SAVEVERSTRINGIFY2(x) #x #define SAVEVERSTRINGIFY(x) SAVEVERSTRINGIFY2(x)