dont let saltyhop overwrite the players spriteyoffset

let it add to it instead
otherwise if we ever use it for smth else in hardcode saltyhop will work with it
This commit is contained in:
alufolie91 committed 2026-04-29 17:54:25 +02:00
1 parent 989f404ea2
commit 2b9d9b2fdd
1 file changed
+1 -1
+1 -1
View File
@@ -3491,7 +3491,7 @@ static void K_QuiteSaltyHop(player_t *player)
pmo->spritexscale -= (FRACUNIT/8);
}
pmo->spriteyoffset = FixedMul(psalt->zoffset, cv_saltyheight.value);
pmo->spriteyoffset += FixedMul(psalt->zoffset, cv_saltyheight.value);
if (cv_saltyhopsfx.value)
{