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