diff --git a/Source/monster.cpp b/Source/monster.cpp index 3828c09b8..fec0e143c 100644 --- a/Source/monster.cpp +++ b/Source/monster.cpp @@ -4528,11 +4528,7 @@ void M_FallenFear(Point position) if (monster._mAi != AI_FALLEN || monster._mhitpoints >> 6 <= 0) continue; - int intelligenceFactor = monster._mint; - if (monster.MType->mtype == MT_DFALLSP) - intelligenceFactor--; - int runDistance = std::max((7 - 2 * intelligenceFactor), 2); - + int runDistance = std::max((8 - monster.MData->mLevel), 2); monster._mgoal = MGOAL_RETREAT; monster._mgoalvar1 = runDistance; monster._mgoalvar2 = static_cast(GetDirection(position, monster.position.tile));