From 95559b2e1731f6653566564a63ba89466825ee31 Mon Sep 17 00:00:00 2001 From: nytmyr <53322305+nytmyr@users.noreply.github.com> Date: Sat, 8 Feb 2025 00:12:03 -0600 Subject: [PATCH] [Bots] Fix typo in positioning (#4659) --- zone/bot.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone/bot.cpp b/zone/bot.cpp index 2f19df776..517eac451 100644 --- a/zone/bot.cpp +++ b/zone/bot.cpp @@ -11901,7 +11901,7 @@ bool Bot::PlotBotPositionAroundTarget(Mob* target, float& x_dest, float& y_dest, temp_x = tar_x + zone->random.Real(-max_distance, max_distance); temp_y = tar_y + zone->random.Real(-max_distance, max_distance); - temp_z_Position.x = temp_z; + temp_z_Position.x = temp_x; temp_z_Position.y = temp_y; temp_z_Position.z = temp_z; best_z = GetFixedZ(temp_z_Position);