mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 09:11:48 +00:00
1 left shifted by zero is still 1
This commit is contained in:
parent
7805828c4a
commit
5e516eb98d
1 changed files with 1 additions and 4 deletions
|
@ -1293,10 +1293,7 @@ static void readgametype(MYFILE *f, char *gtname)
|
|||
UINT32 wordgt = 0;
|
||||
for (j = 0; GAMETYPERULE_LIST[j]; j++)
|
||||
if (fastcmp(word, GAMETYPERULE_LIST[j])) {
|
||||
if (!j) // GTR_CAMPAIGN
|
||||
wordgt |= 1;
|
||||
else
|
||||
wordgt |= (1<<j);
|
||||
wordgt |= (1<<j);
|
||||
if (i || word2[0] == 'T' || word2[0] == 'Y')
|
||||
newgtrules |= wordgt;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue