From: Mario Date: Fri, 31 Jul 2015 14:37:26 +0000 (+1000) Subject: Fix an issue that's been around since the beginning of this branch X-Git-Tag: xonotic-v0.8.1~21^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=4f898ebc6572afd1d2afd6025800e8adbac6792d;p=xonotic%2Fxonotic-data.pk3dir.git Fix an issue that's been around since the beginning of this branch --- diff --git a/qcsrc/client/player_skeleton.qc b/qcsrc/client/player_skeleton.qc index 1d67e171c..4039c905c 100644 --- a/qcsrc/client/player_skeleton.qc +++ b/qcsrc/client/player_skeleton.qc @@ -47,7 +47,7 @@ void skeleton_loadinfo(entity e) } else dprint("No model parameters for ", e.model, "\n"); - dprint(e.model, " uses ", ftos(e.bone_upperbody), " ", ftos(e.fixbone), "\n"); + //dprint(e.model, " uses ", ftos(e.bone_upperbody), " ", ftos(e.fixbone), "\n"); get_model_parameters(string_null, 0); e.skeleton_info_modelindex = e.modelindex; e.skeleton_info_skin = e.skin; diff --git a/qcsrc/common/viewloc.qc b/qcsrc/common/viewloc.qc index 60a253306..ebcdc05c6 100644 --- a/qcsrc/common/viewloc.qc +++ b/qcsrc/common/viewloc.qc @@ -29,9 +29,9 @@ void viewloc_PlayerPhysics() backward = vectoangles(normalize(level_start - level_end)); if(self.movement_x < 0) // left - self.angles = backward; + self.angles_y = backward_y; if(self.movement_x > 0) // right - self.angles = forward; + self.angles_y = forward_y; if(oldmovement_x > 0) #ifdef CSQC @@ -146,9 +146,9 @@ void viewloc_SetViewLocation() backward = vectoangles(normalize(vec_to_max(position_b, position_a) - vec_to_min(position_b, position_a))); if(input_movevalues_y < 0) // left - view.angles = backward; + view.angles_y = backward_y; if(input_movevalues_y > 0) // favour right - view.angles = forward; + view.angles_y = forward_y; setproperty(VF_CL_VIEWANGLES, view.angles); }