1
0
Fork 0
forked from fte/fteqw

Fixed the rotation instant death in h2

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2409 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-10-15 03:30:56 +00:00
parent e2fd8a9f77
commit 09ad52722d

View file

@ -594,7 +594,7 @@ qboolean SV_PushAngles (edict_t *pusher, vec3_t move, vec3_t amove)
// figure movement due to the pusher's amove
VectorSubtract (check->v->origin, pusher->v->origin, org);
org2[0] = DotProduct (org, forward);
org2[1] = DotProduct (org, right);
org2[1] = -DotProduct (org, right);
org2[2] = DotProduct (org, up);
VectorSubtract (org2, org, move2);
VectorAdd (check->v->origin, move2, check->v->origin);