Add extra explanation to ghost-compat instawhip charge hack

This commit is contained in:
AJ Martinez 2024-04-15 04:49:43 -07:00
parent 391ea40bdc
commit 150b42fbcb

View file

@ -12351,9 +12351,12 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
player->instaWhipCharge = 0; player->instaWhipCharge = 0;
} }
// OOPSIES FIXME pt.4: There's some really specific circumstance where a held Item input won't cancel an // OOPSIES FIXME pt.4: This one is kind of esoteric and only theoretically abusable, but
// ongoing roulette, which allows you enough time to charge a whip, except the animation is fucking // if a player picks up an item during the instawhip input safety window—the one that triggers
// invisible. Great! Just hack this for release, sorry. // after you burn to 0 rings—they can continue to hold the input, then charge a usable whip
// without stopping the roulette and acquiring an item, which cancels it.
//
// No ghosts use this technique, but your least favorite tournament player might.
if (player->itemRoulette.active) if (player->itemRoulette.active)
{ {
player->instaWhipCharge = min(player->instaWhipCharge, INSTAWHIP_CHARGETIME - 2); player->instaWhipCharge = min(player->instaWhipCharge, INSTAWHIP_CHARGETIME - 2);