mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-29 18:30:37 +00:00
- update the sector for the interpolated camera position in Exhumed.
Let's hope that fixes #272..
This commit is contained in:
parent
b54fd2f054
commit
6e6d74f058
1 changed files with 1 additions and 0 deletions
|
@ -281,6 +281,7 @@ void DrawView(double smoothRatio, bool sceneonly)
|
||||||
playerZ = interpolate16(PlayerList[nLocalPlayer].opos.z, sprite[nPlayerSprite].z, smoothRatio)
|
playerZ = interpolate16(PlayerList[nLocalPlayer].opos.z, sprite[nPlayerSprite].z, smoothRatio)
|
||||||
+ interpolate16(oeyelevel[nLocalPlayer], eyelevel[nLocalPlayer], smoothRatio);
|
+ interpolate16(oeyelevel[nLocalPlayer], eyelevel[nLocalPlayer], smoothRatio);
|
||||||
nSector = nPlayerViewSect[nLocalPlayer];
|
nSector = nPlayerViewSect[nLocalPlayer];
|
||||||
|
updatesector(playerX, playerY, &nSector);
|
||||||
nAngle = PlayerList[nLocalPlayer].q16angle;
|
nAngle = PlayerList[nLocalPlayer].q16angle;
|
||||||
|
|
||||||
if (!bCamera)
|
if (!bCamera)
|
||||||
|
|
Loading…
Reference in a new issue