mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix tricks fail threshold when under gravflip, fix Charge Aura's visuals not being flipped
This commit is contained in:
parent
4439ce8940
commit
c275f9b3cb
1 changed files with 2 additions and 1 deletions
|
|
@ -9273,6 +9273,7 @@ void K_KartPlayerThink(player_t *player, ticcmd_t *cmd)
|
|||
for(i = 0;i < 5;i++)
|
||||
{
|
||||
mobj_t *aura = P_SpawnMobjFromMobj(player->mo, 0, 0, player->mo->height/2, MT_CHARGEAURA);
|
||||
aura->eflags &= ~MFE_VERTICALFLIP;
|
||||
aura->angle = player->mo->angle + i*ANG15;
|
||||
P_SetTarget(&aura->target, player->mo);
|
||||
if (i == 0)
|
||||
|
|
@ -13632,7 +13633,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground)
|
|||
|
||||
// debug shit
|
||||
//CONS_Printf("%d\n", player->mo->momz / mapobjectscale);
|
||||
if (momz < -10*FRACUNIT) // :youfuckedup:
|
||||
if (momz * P_MobjFlip(player->mo) < -10*FRACUNIT) // :youfuckedup:
|
||||
{
|
||||
// tumble if you let your chance pass!!
|
||||
player->tumbleBounces = 1;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue