- Removed the check for APlayerPawn and just went with player checking alone.

- Updated the savever, demogameversion, and mindemoversion.
This commit is contained in:
MajorCooke 2015-08-11 06:53:28 -05:00
parent cac600733f
commit 9c24e9ac71
2 changed files with 5 additions and 4 deletions

View File

@ -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:

View File

@ -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)