mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-23 16:32:36 +00:00
Fix end camera freezing level on first tic after level loads
Fixes item boxes not spawning in Prison Break
This commit is contained in:
parent
9adf6e9568
commit
3df76ae9a5
1 changed files with 1 additions and 1 deletions
|
|
@ -60,7 +60,7 @@ struct Camera : camera_t
|
||||||
struct EndCam : endcam_t
|
struct EndCam : endcam_t
|
||||||
{
|
{
|
||||||
tic_t Time() const { return leveltime - begin; }
|
tic_t Time() const { return leveltime - begin; }
|
||||||
bool Freezing() const { return Time() <= swirlDuration; }
|
bool Freezing() const { return active && Time() <= swirlDuration; }
|
||||||
|
|
||||||
void GC()
|
void GC()
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue