mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-21 11:21:11 +00:00
Refactor
This commit is contained in:
parent
2f6ec137bb
commit
ec5c04f135
1 changed files with 4 additions and 4 deletions
|
@ -1466,10 +1466,10 @@ void readlevelheader(MYFILE *f, INT32 num)
|
|||
{
|
||||
mobjtype_t tmpflickies[MAXFLICKIES];
|
||||
|
||||
for (header->numFlickies = 0;
|
||||
((header->numFlickies < MAXFLICKIES) && FLICKYTYPES[header->numFlickies].type);
|
||||
header->numFlickies++)
|
||||
tmpflickies[header->numFlickies] = FLICKYTYPES[header->numFlickies].type;
|
||||
UINT8 n;
|
||||
for (n = 0; n < MAXFLICKIES && FLICKYTYPES[n].type; n++)
|
||||
tmpflickies[n] = FLICKYTYPES[n].type;
|
||||
header->numFlickies = n;
|
||||
|
||||
if (header->numFlickies) // just in case...
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue