Skip to content
Snippets Groups Projects
Commit 3df76ae9 authored by James R.'s avatar James R.
Browse files

Fix end camera freezing level on first tic after level loads

Fixes item boxes not spawning in Prison Break
parent 9adf6e95
No related branches found
No related tags found
No related merge requests found
......@@ -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()
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment