Revert "Simplify intermission timer code"
This reverts commit ed16c4fd9f.
This commit is contained in:
1 parent
88a9d6c29e
commit
89f450db27
1 file changed
+12
-2
+12
-2
@@ -552,8 +552,18 @@ void Y_Ticker(void)
|
||||
|
||||
intertic++;
|
||||
|
||||
if ((timer && !--timer)
|
||||
|| (intertic == endtic))
|
||||
// multiplayer uses timer (based on cv_inttime)
|
||||
if (timer)
|
||||
{
|
||||
if (!--timer)
|
||||
{
|
||||
Y_EndIntermission();
|
||||
Y_FollowIntermission();
|
||||
return;
|
||||
}
|
||||
}
|
||||
// single player is hardcoded to go away after awhile
|
||||
else if (intertic == endtic)
|
||||
{
|
||||
Y_EndIntermission();
|
||||
Y_FollowIntermission();
|
||||
|
||||
Reference in new issue
Block a user