mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-29 04:12:24 +00:00
[Bots] Fix typo in positioning (#4659)
This commit is contained in:
parent
7ad63575c7
commit
95559b2e17
@ -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_x = tar_x + zone->random.Real(-max_distance, max_distance);
|
||||||
temp_y = tar_y + 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.y = temp_y;
|
||||||
temp_z_Position.z = temp_z;
|
temp_z_Position.z = temp_z;
|
||||||
best_z = GetFixedZ(temp_z_Position);
|
best_z = GetFixedZ(temp_z_Position);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user