Fix end camera freezing level on first tic after level loads

Fixes item boxes not spawning in Prison Break
This commit is contained in:
James R 2024-01-26 14:34:21 -08:00
parent 9adf6e9568
commit 3df76ae9a5

View file

@ -60,7 +60,7 @@ struct Camera : camera_t
struct EndCam : endcam_t
{
tic_t Time() const { return leveltime - begin; }
bool Freezing() const { return Time() <= swirlDuration; }
bool Freezing() const { return active && Time() <= swirlDuration; }
void GC()
{