From 77a45077e42cf3c93157b03c33ae75fbce89a4c9 Mon Sep 17 00:00:00 2001 From: Skold <113406182+Skold177@users.noreply.github.com> Date: Wed, 15 Apr 2026 19:24:47 -0400 Subject: [PATCH] Remove Battlefield Scripted Roamflag Removes the scripted roamflag from battlefield enemies. --- src/map/utils/mobutils.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/map/utils/mobutils.cpp b/src/map/utils/mobutils.cpp index 129f0b034ff..787348216f2 100644 --- a/src/map/utils/mobutils.cpp +++ b/src/map/utils/mobutils.cpp @@ -1319,9 +1319,8 @@ void SetupBattlefieldMob(CMobEntity* PMob) } // do not roam around - PMob->m_roamFlags |= ROAMFLAG_SCRIPTED; PMob->setMobMod(MOBMOD_ROAM_RESET_FACING, 1); - PMob->m_maxRoamDistance = 0.5f; + PMob->m_maxRoamDistance = 0.0f; if ((PMob->m_bcnmID != 864) && (PMob->m_bcnmID != 704) && (PMob->m_bcnmID != 706)) { // bcnmID 864 (desires of emptiness), 704 (darkness named), and 706 (waking dreams) don't superlink