]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
make chase_active entity angles smooth
authorRudolf Polzer <divverent@alientrap.org>
Fri, 2 Dec 2011 10:04:44 +0000 (11:04 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 2 Dec 2011 10:04:44 +0000 (11:04 +0100)
qcsrc/csqcmodel/cl_player.qc

index 64ac42c0d969d2ebb9dedbdab11a60c0c5f059b3..1a4911a9b0a5aed0f8cfc1f217d11933d22025ae 100644 (file)
@@ -211,6 +211,7 @@ void CSQCPlayer_SetCamera()
                }
                else
                        setproperty(VF_ORIGIN, self.origin + self.view_ofs);
+               self.angles_y = getproperty(VF_ANGLES_Y);
 
                { CSQCPLAYER_HOOK_POSTCAMERASETUP }