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

This commit is contained in:
Christoph Oelckers 2018-12-06 00:34:17 +01:00
parent aef882c137
commit e22e249287

View file

@ -899,10 +899,6 @@ DEFINE_ACTION_FUNCTION(FHealthGroup, SetHealth)
return 0; 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) DEFINE_ACTION_FUNCTION(FDestructible, DamageSector)
{ {
PARAM_PROLOGUE; PARAM_PROLOGUE;