Windcatcher
03-12-2004, 11:07 AM
In zone/mob.cpp:
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 change to the last line. Heading should be transmitted in fixed-point form (this is the same fix that I had to make to 0.5.3-DR3).
WC
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 change to the last line. Heading should be transmitted in fixed-point form (this is the same fix that I had to make to 0.5.3-DR3).
WC