Skip to content

Commit

Permalink
Moved the enum to doombase.zs
Browse files Browse the repository at this point in the history
  • Loading branch information
jekyllgrim authored and coelckers committed Dec 17, 2023
1 parent fc809cf commit df5dc5e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
7 changes: 0 additions & 7 deletions wadsrc/static/zscript/actors/actor.zs
Expand Up @@ -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.
Expand Down
7 changes: 7 additions & 0 deletions wadsrc/static/zscript/doombase.zs
Expand Up @@ -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;
Expand Down

0 comments on commit df5dc5e

Please sign in to comment.