/*
* Apply types (for affects).
* Used in #OBJECTS.
*/
typedef enum
{
APPLY_NONE, APPLY_STR, APPLY_DEX, APPLY_INT, APPLY_WIS, APPLY_CON,
APPLY_SEX, APPLY_NULL, APPLY_LEVEL, APPLY_AGE, APPLY_HEIGHT, APPLY_WEIGHT,
APPLY_MANA, APPLY_HIT, APPLY_MOVE, APPLY_GOLD, APPLY_EXP, APPLY_AC,
APPLY_HITROLL, APPLY_DAMROLL, APPLY_SAVING_POISON, APPLY_SAVING_ROD,
APPLY_SAVING_PARA, APPLY_SAVING_BREATH, APPLY_SAVING_SPELL, APPLY_CHA,
APPLY_AFFECT, APPLY_RESISTANT, APPLY_IMMUNE, APPLY_SUSCEPTIBLE,
APPLY_WEAPONSPELL, APPLY_LCK, APPLY_BACKSTAB, APPLY_PICK, APPLY_TRACK,
APPLY_STEAL, APPLY_SNEAK, APPLY_HIDE, APPLY_PALM, APPLY_DETRAP, APPLY_DODGE,
APPLY_PEEK, APPLY_SCAN, APPLY_GOUGE, APPLY_SEARCH, APPLY_MOUNT, APPLY_DISARM,
APPLY_KICK, APPLY_PARRY, APPLY_BASH, APPLY_STUN, APPLY_PUNCH, APPLY_CLIMB,
APPLY_GRIP, APPLY_SCRIBE, APPLY_BREW, APPLY_WEARSPELL, APPLY_REMOVESPELL,
APPLY_EMOTION, APPLY_MENTALSTATE, APPLY_STRIPSN, APPLY_REMOVE, APPLY_DIG,
APPLY_FULL, APPLY_THIRST, APPLY_DRUNK, APPLY_BLOOD, APPLY_HYPERSPEED, APPLY_REALSPEED,
APPLY_LASERS, APPLY_MAXSHIELD, APPLY_MAXENERGY, APPLY_MAXMISSILES, APPLY_MAXROCKETS,
APPLY_MAXTORPEDOS, APPLY_TRACTORBEAM, APPLY_COMM, APPLY_SENSOR, APPLY_ASTRO_ARRAY,
APPLY_CHAFF, APPLY_MANUEVER, APPLY_ALARM, APPLY_AFTERBURNER, APPLY_CLOAK, APPLY_INTERDICTOR,
APPLY_GRAVWELL, MAX_APPLY_TYPE
} apply_types;
This crash occurs on my SWR when you attempt to set an affect that doesn't exist in the a_types list. Most of the build commands do this for some reason, and I'm certain the newest version of FUSS doesn't do it, even though the code is the same, so any help would be appreciated.