mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Fix flamethrower light rotation
This commit is contained in:
parent
f445dd45d7
commit
7e7f74206d
2 changed files with 2 additions and 2 deletions
|
@ -25,7 +25,7 @@ extern int nLocalPlayer;
|
|||
|
||||
extern int lPlayerXVel;
|
||||
extern int lPlayerYVel;
|
||||
extern int nPlayerDAng;
|
||||
extern fix16_t nPlayerDAng;
|
||||
|
||||
struct Player
|
||||
{
|
||||
|
|
|
@ -393,7 +393,7 @@ void seq_DrawPilotLightSeq(int xOffset, int yOffset)
|
|||
int x = ChunkXpos[nFrameBase] + (160 + xOffset);
|
||||
int y = ChunkYpos[nFrameBase] + (100 + yOffset);
|
||||
|
||||
rotatesprite(x << 16, y << 16, 0x10000, (-8 * nPlayerDAng) & kAngleMask, nTile, -127, 1, 2, windowxy1.x, windowxy1.y, windowxy2.x, windowxy2.y);
|
||||
rotatesprite(x << 16, y << 16, 0x10000, (-2 * fix16_to_int(nPlayerDAng)) & kAngleMask, nTile, -127, 1, 2, windowxy1.x, windowxy1.y, windowxy2.x, windowxy2.y);
|
||||
nFrameBase++;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue