Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
- this "genuine hack" was totally redundant...
  • Loading branch information
coelckers committed Dec 5, 2018
1 parent aef882c commit e22e249
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/p_destructible.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit e22e249

Please sign in to comment.