View Single Post
Old 14.04.2007, 14:15   #9
HF
Архивный участник
 
Join Date: Aug 2005
Posts: 1,531
Default

Quote:
Originally Posted by FidoW View Post
Look at line 211, there are a mistake with ( and )

Code:
if ((myself->GetPathfindFailCount() > 10 && speller == myself.top_desire_target)
fixed
Code:
			}
			if ((myself->GetPathfindFailCount() > 10) && (speller == myself.top_desire_target) && (myself->FloatToInt(myself.sm.hp) != myself->FloatToInt(myself.sm.max_hp)))
			{
				myself->InstantTeleport(myself.sm, myself->FloatToInt(speller.x), myself->FloatToInt(speller.y), myself->FloatToInt(speller.z));
			}
		}
HF is offline