- 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:
Mitchell Richters 2020-08-20 08:52:22 +10:00
parent 7698723e43
commit cc15de3ed9

View file

@ -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));