From e3c5f6e6081eccfe6fb18ce6d6308a3680ffee8e Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 7 Sep 2011 09:36:37 +0900 Subject: [PATCH] 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. --- qw/source/pmovetst.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qw/source/pmovetst.c b/qw/source/pmovetst.c index bca6f1bc5..57b9444b7 100644 --- a/qw/source/pmovetst.c +++ b/qw/source/pmovetst.c @@ -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);