mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-18 15:11:46 +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)
|
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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue