SVN r158 (trunk)

This commit is contained in:
Christoph Oelckers 2006-06-01 00:05:03 +00:00
commit fd1a239c66
5 changed files with 17 additions and 8 deletions

View file

@ -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;