diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-13 16:53:10 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:10 +0100 |
commit | ec12a6fcaa2474eaea1188b023e15d4ca587b8c8 (patch) | |
tree | 9c6114e840f17603703972604d81f824d19c3e7d /.gitignore | |
parent | 2f121b29cfb9eeb0674b40021b730ed3d2b67709 (diff) |
change setviewpos to work as it sounds like
setviewpos now precisely puts the player's view origin to the specified coordinates, and does not spit the player forward; it now optionally takes yaw and pitch arguments
for this, setviewpos takes ps->viewheight into account when teleporting the player; TeleportPlayer() now takes an additional float argument specifying the spitting speed of the player; currently, TeleportPlayer() is called with a non-0 argument only from the setviewpos function
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions