--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-04-20 18:05:32 -05:00
commit 95a0928190
15 files changed
+134 -109

No files matched your search

+2 -1
View File
@@ -196,8 +196,9 @@ WaypointMovementGenerator<Creature>::Update(Creature &unit, const uint32 &diff)
if(node->delay)
i_nextMoveTime.Reset(node->delay);
//note: disable "start" for mtmap
if(node->event_id && rand()%100 < node->event_chance)
sWorld.ScriptsStart(sWaypointScripts, node->event_id, &unit, NULL);
sWorld.ScriptsStart(sWaypointScripts, node->event_id, &unit, NULL, false);
MovementInform(unit);
unit.UpdateWaypointID(i_currentNode);