projects
/
xonotic
/
xonotic-data.pk3dir.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1a61479
)
fix vehicles
author
Rudolf Polzer <divverent@alientrap.org>
Tue, 20 Dec 2011 21:37:59 +0000
(22:37 +0100)
committer
Rudolf Polzer <divverent@alientrap.org>
Tue, 20 Dec 2011 21:37:59 +0000
(22:37 +0100)
qcsrc/csqcmodel/cl_player.qc
patch
|
blob
|
history
diff --git
a/qcsrc/csqcmodel/cl_player.qc
b/qcsrc/csqcmodel/cl_player.qc
index 5532a52732dbad98af9deb6165efc2ffe2c55731..f94589b153868163dcc1279fb4c069514a109945 100644
(file)
--- a/
qcsrc/csqcmodel/cl_player.qc
+++ b/
qcsrc/csqcmodel/cl_player.qc
@@
-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 }