Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 02-14-2010, 11:38 AM
joligario's Avatar
joligario
Developer
 
Join Date: Mar 2003
Posts: 1,497
Default COMMITTED: MobAI Typo Fix

Minor fix for determining run speed vs. walk speed.

Code:
Index: MobAI.cpp
===================================================================
--- MobAI.cpp	(revision 1245)
+++ MobAI.cpp	(working copy)
@@ -1020,7 +1020,7 @@
 			float dist = DistNoRoot(*owner);
 			if (dist >= 100) 
 			{
-				float speed = dist >= 25 ? GetRunspeed() : GetWalkspeed();
+				float speed = dist >= 225 ? GetRunspeed() : GetWalkspeed();
 				animation = 21 * speed;
 				CalculateNewPosition2(owner->GetX(), owner->GetY(), owner->GetZ(), speed);
 			}
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 01:36 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3