Skip to content

Commit

Permalink
Allow Leoric to dynamically spawn skeletons in multiplayer with full …
Browse files Browse the repository at this point in the history
…quests enabled
  • Loading branch information
obligaron authored and AJenbo committed Feb 4, 2024
1 parent 2a3ef25 commit 4be420e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/monster.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2293,7 +2293,7 @@ void LeoricAi(Monster &monster)
monster.goal = MonsterGoal::Normal;
}
if (monster.goal == MonsterGoal::Normal) {
if (!gbIsMultiplayer
if (!UseMultiplayerQuests()
&& ((distanceToEnemy >= 3 && v < 4 * monster.intelligence + 35) || v < 6)
&& LineClearMissile(monster.position.tile, monster.enemyPosition)) {
Point newPosition = monster.position.tile + md;
Expand Down

0 comments on commit 4be420e

Please sign in to comment.