diff --git a/changelog.txt b/changelog.txt index dc8f3af8e..efa9b257a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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) diff --git a/zone/mob_ai.cpp b/zone/mob_ai.cpp index b79b6118a..6ed6eee99 100644 --- a/zone/mob_ai.cpp +++ b/zone/mob_ai.cpp @@ -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