From e22e249287ee7542c11ae40c657d5d5f431979c0 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 6 Dec 2018 00:34:17 +0100 Subject: [PATCH] - this "genuine hack" was totally redundant... --- src/p_destructible.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/p_destructible.cpp b/src/p_destructible.cpp index e0a28f35a6..56ab0ea5da 100755 --- a/src/p_destructible.cpp +++ b/src/p_destructible.cpp @@ -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;