mirror of
https://git.code.sf.net/p/quake/prozac-qfcc
synced 2024-11-10 07:11:51 +00:00
Another self.message which caused a crash likely due to not having a self.owner
check. Tim McGrath (Misty)
This commit is contained in:
parent
0c080c65c8
commit
1afd36dc3d
1 changed files with 2 additions and 1 deletions
3
doors.qc
3
doors.qc
|
@ -118,7 +118,8 @@ void() door_fire =
|
|||
if (self.items)
|
||||
sound (self, CHAN_VOICE, self.noise4, 1, ATTN_NORM);
|
||||
|
||||
self.message = ""; // no more message
|
||||
if (self.owner)
|
||||
self.message = ""; // no more message
|
||||
oself = self;
|
||||
|
||||
if (self.spawnflags & DOOR_TOGGLE)
|
||||
|
|
Loading…
Reference in a new issue