mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 20:11:47 +00:00
Recalc capsule timing when leaving the capsule during destruct sequence (somehow)
* Would be nice to have more sophisticated behavior, e.g., resume the old timing; or drop out the capsule entirely. But how often is this case really going to happen?
This commit is contained in:
parent
8a348794a3
commit
22e95a58da
1 changed files with 4 additions and 2 deletions
|
|
@ -6147,8 +6147,10 @@ static void P_DoNiGHTSCapsule(player_t *player)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else if (player->capsule->lastlook > -1)
|
||||||
player->capsule->lastlook = -1;
|
// We somehow moved out of the capsule (OBJECTPLACE?)
|
||||||
|
// So recalculate all the timings
|
||||||
|
player->capsule->lastlook = player->capsule->extravalue2 = -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue