mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
Changed the order of some variable assignment in ThrowGrenade() to match disassembly. Don't think it really makes a difference?
This commit is contained in:
parent
2dddf19ce7
commit
c7e3aa4b46
1 changed files with 3 additions and 3 deletions
|
@ -105,16 +105,16 @@ int ThrowGrenade(short nPlayer, int edx, int ebx, int ecx, int push1)
|
|||
short nGrenadeSprite = GrenadeList[nGrenade].nSprite;
|
||||
short nPlayerSprite = PlayerList[nPlayer].nSprite;
|
||||
|
||||
mychangespritesect(nGrenadeSprite, nPlayerViewSect[nPlayer]);
|
||||
|
||||
short nAngle = sprite[nPlayerSprite].ang;
|
||||
|
||||
mychangespritesect(nGrenadeSprite, nPlayerViewSect[nPlayer]);
|
||||
|
||||
sprite[nGrenadeSprite].x = sprite[nPlayerSprite].x;
|
||||
sprite[nGrenadeSprite].y = sprite[nPlayerSprite].y;
|
||||
sprite[nGrenadeSprite].z = sprite[nPlayerSprite].z;
|
||||
|
||||
if (nAngle < 0) {
|
||||
nAngle = sprite[nPlayerSprite].ang; // TODO - checkme
|
||||
nAngle = sprite[nPlayerSprite].ang;
|
||||
}
|
||||
|
||||
sprite[nGrenadeSprite].cstat &= 0x7FFF;
|
||||
|
|
Loading…
Reference in a new issue