View Single Post
  #2  
Old 03-28-2004, 05:27 AM
Wumpas
Hill Giant
 
Join Date: Sep 2003
Posts: 154
Default Yup

Yup Ive seen this alot too its been a bug for awhile and you forgot one ; )

Mobs will face a strange heading when they are paused at a waypoint instead of facing the heading they had comming into the waypoint.

These have been mentioned but im not sure if anyone has figured it out yet.

If anyone has a fix for this please post ive been pulling my hair out with this one for a long time : )

Edit
Wow just found this mabe this will help sandy as far as i can tell this one deals with heading and may be the issue

Windcatcher Wrote:
Quote:
This is the fix I had to make to my copy of 0.5.3-DR3:

Code:
void Mob::FillSpawnStruct(NewSpawn_Struct* ns, Mob* ForWho) {
strcpy(ns->spawn.name, name);
if(IsClient())
strncpy(ns->spawn.last_name,lastname,32);
ns->spawn.heading = FloatToEQ19(heading);//heading;


Note the last line. It used to simply assign heading, but it should really be in fixed-point format. This sort of fix probably needs to be done elsewhere in mob.cpp as well, but I don't know where.

Wind
__________________
For Power, For Inovation, Gnomercy Forever!
Reply With Quote