mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-04-07 10:34:48 +00:00
BONUSTYPE typo; bonus alignment
This commit is contained in:
parent
372fc540bc
commit
feadcbfc94
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, "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;
|
||||
else
|
||||
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_SetNightsBonus,
|
||||
Y_SetNullBonus,
|
||||
Y_SetNightsBonus,
|
||||
Y_SetNullBonus,
|
||||
},
|
||||
{
|
||||
Y_SetNullBonus,
|
||||
Y_SetLinkBonus,
|
||||
Y_SetNullBonus,
|
||||
Y_SetLinkBonus,
|
||||
Y_SetNullBonus,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue