mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-15 16:51:31 +00:00
- 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:
parent
bada3bf462
commit
3113037229
2 changed files with 14 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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<APowerupGiver>();
|
||||
|
||||
if (gameinfo.gametype & GAME_Raven)
|
||||
{
|
||||
giver->RespawnTics = 1400+30;
|
||||
}
|
||||
}
|
||||
|
||||
//===========================================================================
|
||||
//
|
||||
// AInventory :: DoRespawn
|
||||
|
|
Loading…
Reference in a new issue