File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 2222#define MASK_XRAY (1<<3)
2323#define MASK_LOCAL (1<<4)
2424
25- var float match_start_time = 0 ;
25+ var float match_start_time = -1 ;
2626var int camera_index = -1 ;
2727var float camera_intro = 4.0 ;
2828var float camera_outro = 2.5 ;
@@ -76,7 +76,7 @@ void() ResetCamera =
7676
7777void () SelectNextCamera =
7878{
79- if (! match_start_time) {
79+ if (match_start_time == -1 ) {
8080 return ;
8181 }
8282
@@ -308,10 +308,10 @@ void() CSQC_WorldLoaded =
308308 deltalisten(" progs/ player. mdl", PipNewPlayer, 0);
309309 }
310310
311- match_start_time = 0 ;
311+ match_start_time = -1 ;
312312
313313 ResetCamera();
314- PipResetTimers(0 );
314+ PipResetTimers(match_start_time );
315315
316316 if (PipLoadItems()) {
317317 deltalisten(" progs/ quaddama. mdl", PipPowerupSpawnListener, RSES_NOLERP);
@@ -321,7 +321,7 @@ void() CSQC_WorldLoaded =
321321
322322void() CSQC_ServerInfoChanged =
323323{
324- if (match_start_time > 0.0f) {
324+ if (match_start_time >= 0.0f) {
325325 return;
326326 }
327327
You can’t perform that action at this time.
0 commit comments