Proooooooobably need a null check there.
This commit is contained in:
parent
308636000f
commit
852e2bfec0
2 changed files with 3 additions and 3 deletions
|
|
@ -198,7 +198,7 @@ extend Class Demolitionist
|
|||
|
||||
override void PlayerThink()
|
||||
{
|
||||
if ( player.playerstate != PST_DEAD ) deadtimer = 0;
|
||||
if ( !player || (player.playerstate != PST_DEAD) ) deadtimer = 0;
|
||||
oldangles = (angle,pitch,roll);
|
||||
if ( player && (player.mo == self) && (player.playerstate != PST_DEAD) && (player.cmd.buttons&BT_USE) )
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue