From df5dc5ebd82f441d7d52de5f9caef1dcb4c005c8 Mon Sep 17 00:00:00 2001 From: jekyllgrim Date: Sun, 17 Dec 2023 14:54:12 +0300 Subject: [PATCH] Moved the enum to doombase.zs --- wadsrc/static/zscript/actors/actor.zs | 7 ------- wadsrc/static/zscript/doombase.zs | 7 +++++++ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/wadsrc/static/zscript/actors/actor.zs b/wadsrc/static/zscript/actors/actor.zs index c07f0a4da0..c9874596f0 100644 --- a/wadsrc/static/zscript/actors/actor.zs +++ b/wadsrc/static/zscript/actors/actor.zs @@ -89,13 +89,6 @@ class Actor : Thinker native const DEFMORPHTICS = 40 * TICRATE; const MELEEDELTA = 20; - enum EMissileHitResult - { - MHIT_DEFAULT = -1, - MHIT_DESTROY = 0, - MHIT_PASS = 1, - } - // flags are not defined here, the native fields for those get synthesized from the internal tables. // for some comments on these fields, see their native representations in actor.h. diff --git a/wadsrc/static/zscript/doombase.zs b/wadsrc/static/zscript/doombase.zs index 96a1c535e4..b3f4610d52 100644 --- a/wadsrc/static/zscript/doombase.zs +++ b/wadsrc/static/zscript/doombase.zs @@ -612,6 +612,13 @@ enum EPickStart } +enum EMissileHitResult +{ + MHIT_DEFAULT = -1, + MHIT_DESTROY = 0, + MHIT_PASS = 1, +} + class SectorEffect : Thinker native { native protected Sector m_Sector;