- Restored the PowerupGiver AT_GAME_SET function. I assume its removal was an

accident from merging in Grubber's custom player classes.


SVN r252 (trunk)
This commit is contained in:
Randy Heit 2006-07-14 00:33:11 +00:00
parent bada3bf462
commit 3113037229
2 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,7 @@
July 13, 2006
- Restored the PowerupGiver AT_GAME_SET function. I assume its removal was an
accident from merging in Grubber's custom player classes.
July 13, 2006 (Changes by Graf Zahl) July 13, 2006 (Changes by Graf Zahl)
- Removed the game filter check from addplayerclass. If a player class is added - Removed the game filter check from addplayerclass. If a player class is added
here the game filter is irrelevant and there's nothing that should prevent here the game filter is irrelevant and there's nothing that should prevent

View File

@ -1092,6 +1092,16 @@ IMPLEMENT_STATELESS_ACTOR (APowerupGiver, Any, -1, 0)
PROP_Inventory_PickupSound ("misc/p_pkup") PROP_Inventory_PickupSound ("misc/p_pkup")
END_DEFAULTS END_DEFAULTS
AT_GAME_SET(PowerupGiver)
{
APowerupGiver * giver = GetDefault<APowerupGiver>();
if (gameinfo.gametype & GAME_Raven)
{
giver->RespawnTics = 1400+30;
}
}
//=========================================================================== //===========================================================================
// //
// AInventory :: DoRespawn // AInventory :: DoRespawn