mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix Set angle miscalculation
This commit is contained in:
parent
21459b4ba8
commit
eded50e873
1 changed files with 1 additions and 1 deletions
|
@ -468,7 +468,7 @@ void FuncSet(int a, int nDamage, int nRun)
|
|||
}
|
||||
}
|
||||
|
||||
sprite[nSprite].ang = (sprite[nSprite].ang + 512) & kAngleMask; // CHECKME loc_33A14
|
||||
sprite[nSprite].ang = (sprite[nSprite].ang + 256) & kAngleMask;
|
||||
sprite[nSprite].xvel = Sin(sprite[nSprite].ang + 512) >> 1;
|
||||
sprite[nSprite].yvel = Sin(sprite[nSprite].ang) >> 1;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue