* Updated to ZDoom r2697:

- Added some NULL pointer checks to the kill CCMD and APlayerPawn::PostBeginPlay.

git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@936 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
gez 2010-09-06 09:24:58 +00:00
parent c074aabfe2
commit 67fb643a5f
3 changed files with 9 additions and 5 deletions

View file

@ -505,7 +505,7 @@ void APlayerPawn::PostBeginPlay()
SetupWeaponSlots();
// Voodoo dolls: restore original floorz/ceilingz logic
if (player->mo != this)
if (player == NULL || player->mo != this)
{
dropoffz = floorz = Sector->floorplane.ZatPoint(x, y);
ceilingz = Sector->ceilingplane.ZatPoint(x, y);