mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-23 04:42:32 +00:00
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:
parent
581539f7af
commit
e3c5f6e608
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue