- added some NULL pointer checks to the kill CCMD and APlayerPawn::PostBeginPlay.
SVN r2697 (trunk)
This commit is contained in:
parent
3dbf807345
commit
e9211aaad3
2 changed files with 7 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue