mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- fixed view height in Duke.
This commit is contained in:
parent
83760d4974
commit
7e8ef99ec9
1 changed files with 2 additions and 1 deletions
|
@ -69,6 +69,7 @@ BEGIN_DUKE_NS
|
|||
|
||||
void renderView(spritetype* playersprite, int sectnum, int x, int y, int z, binangle a, fixedhoriz h, lookangle rotscrnang, int smoothratio)
|
||||
{
|
||||
z -= -(4 << 8);
|
||||
if (!testnewrenderer)
|
||||
{
|
||||
// do screen rotation.
|
||||
|
@ -76,7 +77,7 @@ void renderView(spritetype* playersprite, int sectnum, int x, int y, int z, bina
|
|||
|
||||
se40code(x, y, z, a, h, smoothratio);
|
||||
renderMirror(x, y, z, a, h, smoothratio);
|
||||
renderDrawRoomsQ16(x, y, z - (4 << 8), a.asq16(), h.asq16(), sectnum);
|
||||
renderDrawRoomsQ16(x, y, z, a.asq16(), h.asq16(), sectnum);
|
||||
fi.animatesprites(x, y, a.asbuild(), smoothratio);
|
||||
renderDrawMasks();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue