mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-17 23:21:05 +00:00
Fix a bug where zoomtubes could cause ridiculous acceleration (ie, because PF_SPINNING was applied, causing ridiculously low friction, and then no mechanism was able to remove it)
This commit is contained in:
parent
9e09dd7563
commit
2b91e42410
1 changed files with 0 additions and 2 deletions
|
@ -4098,7 +4098,6 @@ DoneSection2:
|
||||||
P_SetTarget(&player->mo->tracer, waypoint);
|
P_SetTarget(&player->mo->tracer, waypoint);
|
||||||
player->speed = speed;
|
player->speed = speed;
|
||||||
player->pflags &= ~PF_SPINNING; // SRB2kart 200117
|
player->pflags &= ~PF_SPINNING; // SRB2kart 200117
|
||||||
player->pflags |= PF_SPINNING;
|
|
||||||
player->pflags &= ~PF_JUMPED;
|
player->pflags &= ~PF_JUMPED;
|
||||||
player->pflags &= ~PF_GLIDING;
|
player->pflags &= ~PF_GLIDING;
|
||||||
player->climbing = 0;
|
player->climbing = 0;
|
||||||
|
@ -4176,7 +4175,6 @@ DoneSection2:
|
||||||
P_SetTarget(&player->mo->tracer, waypoint);
|
P_SetTarget(&player->mo->tracer, waypoint);
|
||||||
player->speed = speed;
|
player->speed = speed;
|
||||||
player->pflags &= ~PF_SPINNING; // SRB2kart 200117
|
player->pflags &= ~PF_SPINNING; // SRB2kart 200117
|
||||||
player->pflags |= PF_SPINNING;
|
|
||||||
player->pflags &= ~PF_JUMPED;
|
player->pflags &= ~PF_JUMPED;
|
||||||
|
|
||||||
if (!(player->mo->state >= &states[S_KART_RUN1] && player->mo->state <= &states[S_KART_RUN2]))
|
if (!(player->mo->state >= &states[S_KART_RUN1] && player->mo->state <= &states[S_KART_RUN2]))
|
||||||
|
|
Loading…
Reference in a new issue