mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Fix erroneous case if there wasn't a special stage in the cup but gamedata->everseenspecial was true
This commit is contained in:
parent
1ed022d697
commit
b63246ccaf
1 changed files with 2 additions and 6 deletions
|
|
@ -225,11 +225,6 @@ static void Y_CalculateMatchData(UINT8 rankingsmode, void (*comparison)(INT32))
|
||||||
|
|
||||||
data.headerstring[sizeof data.headerstring - 1] = '\0';
|
data.headerstring[sizeof data.headerstring - 1] = '\0';
|
||||||
|
|
||||||
if (gamedata->everseenspecial == true)
|
|
||||||
{
|
|
||||||
data.showrank = true;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
{
|
{
|
||||||
// See also G_GetNextMap
|
// See also G_GetNextMap
|
||||||
data.showrank = false;
|
data.showrank = false;
|
||||||
|
|
@ -239,7 +234,8 @@ static void Y_CalculateMatchData(UINT8 rankingsmode, void (*comparison)(INT32))
|
||||||
&& roundqueue.entries[roundqueue.size - 1].rankrestricted == true
|
&& roundqueue.entries[roundqueue.size - 1].rankrestricted == true
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (roundqueue.position == roundqueue.size)
|
if (gamedata->everseenspecial == true
|
||||||
|
|| roundqueue.position == roundqueue.size)
|
||||||
{
|
{
|
||||||
data.showrank = true;
|
data.showrank = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue