Change super transformation to freeze momentum instead of bitshifting

Fixes https://mb.srb2.org/showthread.php?t=39921 where the issue before was that when you transformed your momentum would still have you moving slowly, which could cancel out the animation.
This commit is contained in:
Wolfy committed 2014-10-01 21:19:32 -05:00
1 parent 5b07cf8ff0
commit 197e5fce55
1 file changed
+1 -3
+1 -3
View File
@@ -973,9 +973,7 @@ void P_DoSuperTransformation(player_t *player, boolean giverings)
// Transformation animation
P_SetPlayerMobjState(player->mo, S_PLAY_SUPERTRANS1);
player->mo->momx >>= 1;
player->mo->momy >>= 1;
player->mo->momz >>= 1;
player->mo->momx = player->mo->momy = player->mo->momz = 0;
if (giverings)
{