PDA

View Full Version : NPC direction in combat


Relyt
02-11-2012, 11:12 PM
I've noticed NPC direction in combat (melee range most notably) doesn't update until their next action. This can take a few seconds if you spin around a mob. Is this a bug? I've noticed the same problem with other various servers. Movement in general seems really iffy when updating.

Jeknos
02-12-2012, 04:52 PM
Add FaceTarget(hate_list.GetTop(this)); to the hate list checks in MobAI.cpp (Should be around line 785 and 1123 for charmed players and mobs).