View Single Post
  #7  
Old 02-27-2004, 05:23 PM
Windcatcher
Demi-God
 
Join Date: Jan 2002
Posts: 1,175
Default

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
Reply With Quote