- update the sector for the interpolated camera position in Exhumed.

Let's hope that fixes #272..
This commit is contained in:
Christoph Oelckers 2020-09-05 00:21:10 +02:00
parent b54fd2f054
commit 6e6d74f058

View file

@ -281,6 +281,7 @@ void DrawView(double smoothRatio, bool sceneonly)
playerZ = interpolate16(PlayerList[nLocalPlayer].opos.z, sprite[nPlayerSprite].z, smoothRatio)
+ interpolate16(oeyelevel[nLocalPlayer], eyelevel[nLocalPlayer], smoothRatio);
nSector = nPlayerViewSect[nLocalPlayer];
updatesector(playerX, playerY, &nSector);
nAngle = PlayerList[nLocalPlayer].q16angle;
if (!bCamera)