fix hanged yoffset upon turning off saltyhop mid start drift
This commit is contained in:
1 parent
9f4df6b80d
commit
8117b528ab
1 file changed
+6
@@ -6464,6 +6464,12 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
||||
// salty hop! i wanna die
|
||||
if (cv_saltyhop.value)
|
||||
K_QuiteSaltyHop(player);
|
||||
else {
|
||||
player->mo->spriteyoffset = 0;
|
||||
player->mo->salty_jump = false;
|
||||
player->mo->salty_zoffset = 0;
|
||||
player->mo->salty_momz = 0;
|
||||
}
|
||||
}
|
||||
|
||||
void K_CalculateBattleWanted(void)
|
||||
|
||||
Reference in new issue
Block a user