SVN r158 (trunk)
This commit is contained in:
parent
92dff5f302
commit
fd1a239c66
5 changed files with 17 additions and 8 deletions
|
|
@ -1087,7 +1087,7 @@ END_DEFAULTS
|
|||
|
||||
void APowerFrightener::InitEffect ()
|
||||
{
|
||||
if (Owner->player == NULL)
|
||||
if (Owner== NULL || Owner->player == NULL)
|
||||
return;
|
||||
|
||||
Owner->player->cheats |= CF_FRIGHTENING;
|
||||
|
|
@ -1101,7 +1101,7 @@ void APowerFrightener::InitEffect ()
|
|||
|
||||
void APowerFrightener::EndEffect ()
|
||||
{
|
||||
if (Owner->player == NULL)
|
||||
if (Owner== NULL || Owner->player == NULL)
|
||||
return;
|
||||
|
||||
Owner->player->cheats &= ~CF_FRIGHTENING;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue