- Code: Select all • Expand view
class SpecialAmmoBase : HDAmmo abstract
{ }
I risk a VM abort upon spawning the actor because the mod's backpack generates its contents by iterating AllActorClasses. SpecialAmmoBase passes all the checks but there's no way to avoid it without hardcoding exceptions for that class. Needless to say, that's a bad solution when addons are involved.
Checking if a class is abstract would let the backpack generation code just skip that class and not try to spawn it.