removed useless engine hooks

replaces some div's to mul's
This commit is contained in:
jeefo 2015-06-22 21:32:29 +03:00
commit 65818243ec
8 changed files with 12 additions and 47 deletions

View file

@ -240,7 +240,7 @@ void Waypoint::Add (int flags, const Vector &waypointOrigin)
flags += path->connectionFlags[i];
if (flags == 0)
path->origin = (path->origin + g_hostEntity->v.origin) / 2;
path->origin = (path->origin + g_hostEntity->v.origin) * 0.5;
}
}
break;