mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-30 13:21:04 +00:00
- SW: Comment out code block causing interpolation issues when initialising a nuke.
* If there was a `pNukePresent()` function, that's where the commented out code belongs. * I believe the rocket switching type was simplified during development and this is just an omission that's now obvious with interpolation. Only just, but you can notice this in an uninterpolated state while bobbing. * Fixes #212.
This commit is contained in:
parent
7698723e43
commit
cc15de3ed9
1 changed files with 2 additions and 0 deletions
|
@ -4552,6 +4552,7 @@ pNukeAction(PANEL_SPRITEp psp)
|
|||
{
|
||||
PLAYERp pp = psp->PlayerP;
|
||||
|
||||
#if 0 // Code commented out as it's causing interpolation issues when initialising a nuke.
|
||||
psp->oy = psp->y;
|
||||
psp->y -= 3 * synctics;
|
||||
|
||||
|
@ -4560,6 +4561,7 @@ pNukeAction(PANEL_SPRITEp psp)
|
|||
psp->oy = psp->y = MICRO_YOFF;
|
||||
psp->yorig = psp->y;
|
||||
}
|
||||
#endif
|
||||
|
||||
pMicroBobSetup(psp);
|
||||
pWeaponBob(psp, PLAYER_MOVING(psp->PlayerP));
|
||||
|
|
Loading…
Reference in a new issue