mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-06-03 02:30:53 +00:00
* 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:
parent
c074aabfe2
commit
67fb643a5f
3 changed files with 9 additions and 5 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