- fully scriptified HealthPickup.
This commit is contained in:
parent
156f9c488e
commit
03c7b10fd6
11 changed files with 12 additions and 100 deletions
|
|
@ -71,7 +71,6 @@
|
|||
#include "a_weaponpiece.h"
|
||||
#include "vmbuilder.h"
|
||||
#include "a_ammo.h"
|
||||
#include "a_health.h"
|
||||
#include "a_keys.h"
|
||||
#include "g_levellocals.h"
|
||||
|
||||
|
|
@ -1969,15 +1968,6 @@ DEFINE_CLASS_PROPERTY(givequest, I, Inventory)
|
|||
static_cast<PClassInventory *>(info)->GiveQuest = i;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//==========================================================================
|
||||
DEFINE_CLASS_PROPERTY(autouse, I, HealthPickup)
|
||||
{
|
||||
PROP_INT_PARM(i, 0);
|
||||
defaults->autousemode = i;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
//==========================================================================
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue