- floatified viewheight variables and some related code.
This commit is contained in:
parent
af427b80bd
commit
6b3c0ecbd3
14 changed files with 90 additions and 82 deletions
|
|
@ -168,7 +168,7 @@ bool P_Teleport (AActor *thing, fixed_t x, fixed_t y, fixed_t z, DAngle angle, i
|
|||
}
|
||||
if (player)
|
||||
{
|
||||
player->viewz = thing->_f_Z() + player->viewheight;
|
||||
player->viewz = thing->Z() + player->viewheight;
|
||||
if (resetpitch)
|
||||
{
|
||||
player->mo->Angles.Pitch = 0.;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue