Fix the wonky rotation translations caused by rotation support.

Damn loop in PM_PlayerMove messed up the rotation flag. To think, all that
trouble caused by one little flag.
This commit is contained in:
Bill Currie 2011-09-07 09:36:37 +09:00
parent 581539f7af
commit e3c5f6e608
1 changed files with 2 additions and 1 deletions

View File

@ -252,7 +252,8 @@ PM_PlayerMove (const vec3_t start, const vec3_t end)
VectorSubtract (start, offset, start_l);
VectorSubtract (end, offset, end_l);
if (1 && pe->model && pe->model->type == mod_brush
rot = 0;
if (i && pe->model && pe->model->type == mod_brush
&& !VectorIsZero (pe->angles)) {
rot = 1;
AngleVectors (pe->angles, forward, right, up);