mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
BONUSTYPE typo; bonus alignment
This commit is contained in:
parent
417d7d105e
commit
8d40d8ea43
2 changed files with 3 additions and 3 deletions
|
|
@ -1200,7 +1200,7 @@ static void readlevelheader(MYFILE *f, INT32 num)
|
||||||
else if (fastcmp(word2, "NIGHTSLINK")) i = 4;
|
else if (fastcmp(word2, "NIGHTSLINK")) i = 4;
|
||||||
else if (fastcmp(word2, "NIGHTSALL")) i = 5;
|
else if (fastcmp(word2, "NIGHTSALL")) i = 5;
|
||||||
|
|
||||||
if (i >= -1 && i <= 2) // -1 for no bonus. Max is 2.
|
if (i >= -1 && i <= 5) // -1 for no bonus. Max is 2.
|
||||||
mapheaderinfo[num-1]->bonustype = (SINT8)i;
|
mapheaderinfo[num-1]->bonustype = (SINT8)i;
|
||||||
else
|
else
|
||||||
deh_warning("Level header %d: invalid bonus type number %d", num, i);
|
deh_warning("Level header %d: invalid bonus type number %d", num, i);
|
||||||
|
|
|
||||||
|
|
@ -1852,14 +1852,14 @@ bonus_f bonuses_list[7][4] = {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Y_SetNullBonus,
|
Y_SetNullBonus,
|
||||||
Y_SetNightsBonus,
|
|
||||||
Y_SetNullBonus,
|
Y_SetNullBonus,
|
||||||
|
Y_SetNightsBonus,
|
||||||
Y_SetNullBonus,
|
Y_SetNullBonus,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
Y_SetNullBonus,
|
Y_SetNullBonus,
|
||||||
Y_SetLinkBonus,
|
|
||||||
Y_SetNullBonus,
|
Y_SetNullBonus,
|
||||||
|
Y_SetLinkBonus,
|
||||||
Y_SetNullBonus,
|
Y_SetNullBonus,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue