mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-11 15:21:51 +00:00
- fixed offsetting of player weapon sprites.
This commit is contained in:
parent
d0b30f31e1
commit
d66a28fcde
1 changed files with 1 additions and 1 deletions
|
@ -976,7 +976,7 @@ void gl_RenderHUDModel(pspdef_t *psp, float ofsX, float ofsY)
|
|||
|
||||
// [BB] Weapon bob, very similar to the normal Doom weapon bob.
|
||||
gl_RenderState.mViewMatrix.rotate(ofsX/4, 0, 1, 0);
|
||||
gl_RenderState.mViewMatrix.rotate(-ofsY-WEAPONTOP/4, 1, 0, 0);
|
||||
gl_RenderState.mViewMatrix.rotate((ofsY-WEAPONTOP)/-4., 1, 0, 0);
|
||||
|
||||
// [BB] For some reason the jDoom models need to be rotated.
|
||||
gl_RenderState.mViewMatrix.rotate(90.f, 0, 1, 0);
|
||||
|
|
Loading…
Reference in a new issue