mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-04-01 16:01:09 +00:00
Minor across-board bugfixes re the past 24 hours of commits.
* d_main.c - fix the wipedef for skipping to the titlescreen to be the checkered one again. * k_kart.c - Tweak drawtime's setting slightly. * y_inter.c - Make endtic ALWAYS set when not netgame/splitscreen, to prevent an undesirable, possible hang whenever we add more stuff later.
This commit is contained in:
parent
1aa6267665
commit
37bf55543f
3 changed files with 5 additions and 5 deletions
|
@ -297,7 +297,7 @@ static void D_Display(void)
|
|||
// set for all later
|
||||
wipedefindex = gamestate; // wipe_xxx_toblack
|
||||
if (gamestate == GS_TITLESCREEN && wipegamestate != GS_INTRO)
|
||||
wipedefindex = wipe_multinter_toblack;
|
||||
wipedefindex = wipe_timeattack_toblack;
|
||||
else if (gamestate == GS_INTERMISSION)
|
||||
{
|
||||
if (intertype == int_spec) // Special Stage
|
||||
|
|
|
@ -4590,7 +4590,7 @@ static void K_drawKartTimestamp(void)
|
|||
|
||||
if (cv_timelimit.value && timelimitintics > 0)
|
||||
{
|
||||
if (drawtime > timelimitintics)
|
||||
if (drawtime >= timelimitintics)
|
||||
drawtime = 0;
|
||||
else
|
||||
drawtime = timelimitintics - drawtime;
|
||||
|
|
|
@ -537,9 +537,7 @@ void Y_Ticker(void)
|
|||
|
||||
if (intertype == int_race || intertype == int_match)
|
||||
{
|
||||
if (modeattacking)
|
||||
endtic = intertic + 8*TICRATE; // 8 second pause after end of tally
|
||||
else if (netgame || multiplayer)
|
||||
if (netgame || multiplayer)
|
||||
{
|
||||
if (sorttic == -1)
|
||||
sorttic = intertic + max((cv_inttime.value/2)-2, 2)*TICRATE; // 8 second pause after match results
|
||||
|
@ -573,6 +571,8 @@ void Y_Ticker(void)
|
|||
}
|
||||
}
|
||||
}
|
||||
else
|
||||
endtic = intertic + 8*TICRATE; // 8 second pause after end of tally
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue