diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 3b9ca4052..f06317aca 100644 --- a/docs/rh-log.txt +++ b/docs/rh-log.txt @@ -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) - 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 diff --git a/src/g_shared/a_pickups.cpp b/src/g_shared/a_pickups.cpp index 013ffea08..2f250ec74 100644 --- a/src/g_shared/a_pickups.cpp +++ b/src/g_shared/a_pickups.cpp @@ -1092,6 +1092,16 @@ IMPLEMENT_STATELESS_ACTOR (APowerupGiver, Any, -1, 0) PROP_Inventory_PickupSound ("misc/p_pkup") END_DEFAULTS +AT_GAME_SET(PowerupGiver) +{ + APowerupGiver * giver = GetDefault(); + + if (gameinfo.gametype & GAME_Raven) + { + giver->RespawnTics = 1400+30; + } +} + //=========================================================================== // // AInventory :: DoRespawn