mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-28 15:02:01 +00:00
- this "genuine hack" was totally redundant...
This commit is contained in:
parent
aef882c137
commit
e22e249287
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue