- Fixed: player_t::Powers was not saved in a savegame.

- Removed all unused PW_* player power flags.
- Added Skulltag's TimeFreezer powerup.


SVN r527 (trunk)
This commit is contained in:
Christoph Oelckers 2007-05-01 15:09:44 +00:00
commit 12c122a7dd
10 changed files with 136 additions and 18 deletions

View file

@ -2534,6 +2534,13 @@ void AActor::Tick ()
return;
}
// Apply freeze mode.
if (( level.flags & LEVEL_FROZEN ) && ( player == NULL || !( player->Powers & PW_TIMEFREEZE )))
{
return;
}
fixed_t oldz = z;
// [RH] Give the pain elemental vertical friction