- this "genuine hack" was totally redundant...

This commit is contained in:
Christoph Oelckers 2018-12-06 00:34:17 +01:00 committed by drfrag
parent a6ff1637df
commit c90e4b773a

View file

@ -899,10 +899,6 @@ DEFINE_ACTION_FUNCTION(FHealthGroup, SetHealth)
return 0;
}
// genuine hack. this essentially causes the engine to register a struct called Destructible, and enables use of DEFINE_ACTION_FUNCTION
struct FDestructible { void* none; };
DEFINE_FIELD_X(Destructible, FDestructible, none);
DEFINE_ACTION_FUNCTION(FDestructible, DamageSector)
{
PARAM_PROLOGUE;