mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-03 20:26:05 +00:00
mapheader_t destroyforchallenge: Actually read supplied mobjtypes past the first one
Fixes Joypolis chairs not being counted
This commit is contained in:
parent
a15f6280d7
commit
80e519e442
1 changed files with 1 additions and 1 deletions
|
|
@ -1408,7 +1408,7 @@ void readlevelheader(MYFILE *f, char * name)
|
|||
do {
|
||||
if (j >= MAXDESTRUCTIBLES)
|
||||
break;
|
||||
mapheaderinfo[num]->destroyforchallenge[j] = get_mobjtype(word2);
|
||||
mapheaderinfo[num]->destroyforchallenge[j] = get_mobjtype(tmp);
|
||||
j++;
|
||||
} while ((tmp = strtok(NULL,",")) != NULL);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue