mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- Removed duplicate 'acceleratestage' check.
This commit is contained in:
parent
beb2a4fc64
commit
a90ea55e2c
1 changed files with 5 additions and 7 deletions
|
@ -1808,18 +1808,16 @@ void WI_updateStats ()
|
||||||
|
|
||||||
if (acceleratestage && sp_state != 10)
|
if (acceleratestage && sp_state != 10)
|
||||||
{
|
{
|
||||||
if (acceleratestage)
|
acceleratestage = 0;
|
||||||
{
|
sp_state = 10;
|
||||||
acceleratestage = 0;
|
S_Sound (CHAN_VOICE | CHAN_UI, "intermission/nextstage", 1, ATTN_NONE);
|
||||||
sp_state = 10;
|
|
||||||
S_Sound (CHAN_VOICE | CHAN_UI, "intermission/nextstage", 1, ATTN_NONE);
|
|
||||||
}
|
|
||||||
cnt_kills[0] = plrs[me].skills;
|
cnt_kills[0] = plrs[me].skills;
|
||||||
cnt_items[0] = plrs[me].sitems;
|
cnt_items[0] = plrs[me].sitems;
|
||||||
cnt_secret[0] = plrs[me].ssecret;
|
cnt_secret[0] = plrs[me].ssecret;
|
||||||
cnt_time = Tics2Seconds(plrs[me].stime);
|
cnt_time = Tics2Seconds(plrs[me].stime);
|
||||||
cnt_par = wbs->partime / TICRATE;
|
cnt_par = wbs->partime / TICRATE;
|
||||||
cnt_total_time = Tics2Seconds(wbs->totaltime);
|
cnt_total_time = Tics2Seconds(wbs->totaltime);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (sp_state == 2)
|
if (sp_state == 2)
|
||||||
|
|
Loading…
Reference in a new issue