]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix vehicles
authorRudolf Polzer <divverent@alientrap.org>
Tue, 20 Dec 2011 21:37:59 +0000 (22:37 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 20 Dec 2011 21:37:59 +0000 (22:37 +0100)
qcsrc/csqcmodel/cl_player.qc

index 5532a52732dbad98af9deb6165efc2ffe2c55731..f94589b153868163dcc1279fb4c069514a109945 100644 (file)
@@ -254,8 +254,8 @@ void CSQCPlayer_SetCamera()
        }
        else
        {
-               // no setup, keep engine provided values
-               // to support a legacy entity being the view
+               setproperty(VF_ORIGIN, pmove_org + '0 0 1' * getstati(STAT_VIEWHEIGHT));
+               setproperty(VF_ANGLES, input_angles);
        }
 
        { CSQCPLAYER_HOOK_POSTCAMERASETUP }