diff --git a/dlls/scripted.cpp b/dlls/scripted.cpp index 41638b39..ebe2e6ea 100644 --- a/dlls/scripted.cpp +++ b/dlls/scripted.cpp @@ -864,7 +864,8 @@ BOOL CBaseMonster::CineCleanup() // We should have some animation to put these guys in, but for now it's idle. // Due to NOINTERP above, there won't be any blending between this anim & the sequence - m_Activity = ACT_RESET; + if (!FBitSet(pOldCine->pev->spawnflags, SF_SCRIPT_CONTINUOUS)) + m_Activity = ACT_RESET; } // set them back into a normal state pev->enemy = NULL; diff --git a/dlls/scripted.h b/dlls/scripted.h index 59b696f7..21c71e59 100644 --- a/dlls/scripted.h +++ b/dlls/scripted.h @@ -28,7 +28,7 @@ #define SF_SCRIPT_NOINTERRUPT 32 #define SF_SCRIPT_OVERRIDESTATE 64 #define SF_SCRIPT_NOSCRIPTMOVEMENT 128 - +#define SF_SCRIPT_CONTINUOUS 256 #define SCRIPT_BREAK_CONDITIONS (bits_COND_LIGHT_DAMAGE|bits_COND_HEAVY_DAMAGE) enum SS_INTERRUPT