mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +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;
|
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;
|
||||||
|
|
Loading…
Reference in a new issue