mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-26 06:20:16 -04:00
umapinfo: fix not possible to set 'partime'
This commit is contained in:
parent
97f2190ac7
commit
cef71bb2a6
@ -1165,6 +1165,11 @@ static void G_DoCompleted(void)
|
||||
wminfo.next = gamemap; // go to next level
|
||||
}
|
||||
|
||||
if ( gamemode == commercial )
|
||||
wminfo.partime = TICRATE*cpars[gamemap-1];
|
||||
else
|
||||
wminfo.partime = TICRATE*pars[gameepisode][gamemap];
|
||||
|
||||
frommapinfo:
|
||||
|
||||
wminfo.nextmapinfo = G_LookupMapinfo(wminfo.nextep+1, wminfo.next+1);
|
||||
@ -1174,11 +1179,6 @@ frommapinfo:
|
||||
wminfo.maxsecret = totalsecret;
|
||||
wminfo.maxfrags = 0;
|
||||
|
||||
if ( gamemode == commercial )
|
||||
wminfo.partime = TICRATE*cpars[gamemap-1];
|
||||
else
|
||||
wminfo.partime = TICRATE*pars[gameepisode][gamemap];
|
||||
|
||||
wminfo.pnum = consoleplayer;
|
||||
|
||||
for (i=0 ; i<MAXPLAYERS ; i++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user