mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-11 18:50:46 +00:00
git-svn-id: https://svn.eduke32.com/eduke32@777 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
3f14c6aaad
commit
8fbe6b54b6
1 changed files with 8 additions and 0 deletions
|
@ -7599,6 +7599,7 @@ int saveboard(char *filename, int *daposx, int *daposy, int *daposz,
|
|||
}
|
||||
|
||||
numsprites = 0;
|
||||
#if 0
|
||||
for (j=0;j<MAXSTATUS;j++)
|
||||
{
|
||||
i = headspritestat[j];
|
||||
|
@ -7608,6 +7609,13 @@ int saveboard(char *filename, int *daposx, int *daposy, int *daposz,
|
|||
i = nextspritestat[i];
|
||||
}
|
||||
}
|
||||
#else
|
||||
for (j=0;j<MAXSPRITES;j++)
|
||||
{
|
||||
if (sprite[j].statnum != MAXSTATUS)
|
||||
numsprites++;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (numsectors > MAXSECTORSV7 || numwalls > MAXWALLSV7 || numsprites > MAXSPRITESV7)
|
||||
mapversion = 8;
|
||||
|
|
Loading…
Reference in a new issue