Log in

View Full Version : Another mob pathing fix


Scorpious2k
09-18-2003, 03:12 AM
Really mob pathing/quest related. To get EVENT_WAYPOINT working correctly, in mobAI.cpp Mob::AI_Process() the line that reads

parse->Event(7,this->GetNPCTypeID(), itoa(cur_wp,temp,10), this->CastToMob(), 0);

should be

parse->Event(7,this->GetNPCTypeID(), itoa((cur_wp+1),temp,10), this->CastToMob(), this->CastToMob());

Merth
09-18-2003, 05:58 AM
Fixed in the DR3 code. Thanks!

Scorpious2k
09-18-2003, 07:01 AM
Fixed in the DR3 code. Thanks!

Its a pleasure and an honor to help. :-)