- Converted the Communicator to DECORATE.

- Renamed the new armor properties to use the same names as Skulltag to avoid
  confusion. They still don't need a separate base class as in Skulltag though.
- Added Skulltag-type armor bonus that increases the max amount that can be given
  by other armor items.
- Separated all armor related code from a_pickups.cpp into a_armor.cpp.



SVN r427 (trunk)
This commit is contained in:
Christoph Oelckers 2006-12-25 13:43:11 +00:00
commit 3eeef7af77
15 changed files with 1106 additions and 1092 deletions

View file

@ -2035,7 +2035,7 @@ void P_PlayerThink (player_t *player)
}
else if (cmd->ucmd.upmove > 0 && !(player->cheats & CF_PREDICTING))
{
AInventory *fly = player->mo->FindInventory (PClass::FindClass (NAME_ArtiFly));
AInventory *fly = player->mo->FindInventory (NAME_ArtiFly);
if (fly != NULL)
{
player->mo->UseInventory (fly);