From 7073bd8f5f4650a56e291096ed9b6f9830251d24 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Fri, 18 Sep 2020 19:52:03 -0400 Subject: [PATCH] - add missing SPAC constants --- wadsrc/static/zscript/constants.zs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/wadsrc/static/zscript/constants.zs b/wadsrc/static/zscript/constants.zs index 725044afe1..8b65a47dd8 100644 --- a/wadsrc/static/zscript/constants.zs +++ b/wadsrc/static/zscript/constants.zs @@ -1270,6 +1270,8 @@ enum SPAC SPAC_MUse = 1<<8, // monsters can use SPAC_MPush = 1<<9, // monsters can push SPAC_UseBack = 1<<10, // Can be used from the backside + SPAC_Damage = 1<<11, // [ZZ] when linedef receives damage + SPAC_Death = 1<<12, // [ZZ] when linedef receives damage and has 0 health SPAC_PlayerActivate = (SPAC_Cross|SPAC_Use|SPAC_Impact|SPAC_Push|SPAC_AnyCross|SPAC_UseThrough|SPAC_UseBack), };