mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
Merge pull request #398 from ChillyDoom/DuplicateCheck
- Removed duplicate 'acceleratestage' check.
This commit is contained in:
commit
9ff2ac684f
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