A special stage is a special stage, even outside of coop.
This commit is contained in:
parent
17ce7d57c3
commit
b71c75d2ec
|
@ -3514,7 +3514,7 @@ INT32 G_GetGametypeByName(const char *gametypestr)
|
||||||
//
|
//
|
||||||
boolean G_IsSpecialStage(INT32 mapnum)
|
boolean G_IsSpecialStage(INT32 mapnum)
|
||||||
{
|
{
|
||||||
if (gametype != GT_COOP || modeattacking == ATTACKING_RECORD)
|
if (modeattacking == ATTACKING_RECORD)
|
||||||
return false;
|
return false;
|
||||||
if (mapnum >= sstage_start && mapnum <= sstage_end)
|
if (mapnum >= sstage_start && mapnum <= sstage_end)
|
||||||
return true;
|
return true;
|
||||||
|
@ -5158,4 +5158,3 @@ INT32 G_TicsToMilliseconds(tic_t tics)
|
||||||
{
|
{
|
||||||
return (INT32)((tics%TICRATE) * (1000.00f/TICRATE));
|
return (INT32)((tics%TICRATE) * (1000.00f/TICRATE));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue