- Added a NOTIMEFREEZE flag that excludes actors from being affected by

the time freezer powerup.
- Changed: Empty pickup messages are no longer printed. 

SVN r886 (trunk)
This commit is contained in:
Christoph Oelckers 2008-04-06 09:24:41 +00:00
commit d938121378
6 changed files with 21 additions and 11 deletions

View file

@ -2573,16 +2573,19 @@ void AActor::Tick ()
return;
}
//Added by MC: Freeze mode.
if (bglobal.freeze && !(player && !player->isbot))
if (!(flags5 & MF5_NOTIMEFREEZE))
{
return;
}
//Added by MC: Freeze mode.
if (bglobal.freeze && !(player && !player->isbot))
{
return;
}
// Apply freeze mode.
if (( level.flags & LEVEL_FROZEN ) && ( player == NULL || !( player->cheats & CF_TIMEFREEZE )))
{
return;
// Apply freeze mode.
if (( level.flags & LEVEL_FROZEN ) && ( player == NULL || !( player->cheats & CF_TIMEFREEZE )))
{
return;
}
}
if (cl_rockettrails & 2)