From a0a710c56adbec440eaca05d1d05be94a75141f6 Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Wed, 30 Dec 2020 18:31:51 +1100 Subject: [PATCH] - Duke: Fix camera horizon when viewing the screen from in-game. * Leftover horizon offset that was missed when doing 09a05f354c70a3820e1efe2d8b52da4b490daba6. --- source/games/duke/src/render.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/games/duke/src/render.cpp b/source/games/duke/src/render.cpp index f5394a48a..72aec4be6 100644 --- a/source/games/duke/src/render.cpp +++ b/source/games/duke/src/render.cpp @@ -295,7 +295,7 @@ void animatecamsprite(double smoothratio) auto camera = &camsprite->GetOwner()->s; auto ang = getcamspriteang(camsprite->GetOwner(), smoothratio); // Note: no ROR or camera here for now - the current setup has no means to detect these things before rendering the scene itself. - drawrooms(camera->x, camera->y, camera->z, ang, 100 + camera->shade, camera->sectnum); // why 'shade'...? + drawrooms(camera->x, camera->y, camera->z, ang, camera->shade, camera->sectnum); // why 'shade'...? display_mirror = 1; // should really be 'display external view'. fi.animatesprites(camera->x, camera->y, ang, smoothratio); display_mirror = 0;