From 31130372295c00b5b9d76be645d8c683e77aa4fd Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 14 Jul 2006 00:33:11 +0000 Subject: [PATCH] - 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) --- docs/rh-log.txt | 4 ++++ src/g_shared/a_pickups.cpp | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/docs/rh-log.txt b/docs/rh-log.txt index 3b9ca40528..f06317acad 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 013ffea08a..2f250ec744 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