Permalink
Browse files

Important fix for mob pathing (see changelog.txt)

  • Loading branch information...
Uleat committed Jul 9, 2016
1 parent bc196f2 commit 402353affad843e61f01ea0f258f98091586a2aa
Showing with 7 additions and 1 deletion.
  1. +6 −0 changelog.txt
  2. +1 −1 zone/mob_ai.cpp
View
@@ -1,5 +1,11 @@
EQEMu Changelog (Started on Sept 24, 2003 15:50)
-------------------------------------------------------
== 07/09/2016 ==
Uleat: Important fix for mob pathing
- This should fix failed pathing issues (and high cpu usage for zone.exe) for mobs in affect zones
- Changed variable 'gridno' type from int16 to int32 to reflect actual return value of fetch (values do exceed 32767 aka int16.max)
- Precision loss from int32 to int16 conversion was causing grid id to be changed to quest controlled movement in cases where (gridno & 0x8000 == true)
== 06/28/2016 ==
Noudess: Resurrection effects now block certain buffs like on live.
Noudess: Added message about why spells are blocked (rule based)
View
@@ -1551,7 +1551,7 @@ void NPC::AI_DoMovement() {
}
int16 gridno = CastToNPC()->GetGrid();
int32 gridno = CastToNPC()->GetGrid();
if (gridno > 0 || cur_wp==-2) {
if (movetimercompleted==true) { // time to pause at wp is over

0 comments on commit 402353a

Please sign in to comment.