Proooooooobably need a null check there.
This commit is contained in:
parent
308636000f
commit
852e2bfec0
2 changed files with 3 additions and 3 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1070 \cu(Sun 24 Dec 17:56:05 CET 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r1070 \cu(2023-12-24 17:56:05)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.3pre r1071 \cu(Sun 24 Dec 18:27:07 CET 2023)\c-";
|
||||
SWWM_SHORTVER="\cw1.3pre r1071 \cu(2023-12-24 18:27:07)\c-";
|
||||
|
|
|
|||
|
|
@ -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