Free cstat bit 14

# Conflicts:
#	source/blood/src/mapedit.cpp
#	source/build/src/build.cpp
#	source/build/src/engine.cpp
#	source/duke3d/src/astub.cpp
This commit is contained in:
nukeykt 2019-06-30 01:54:00 +09:00 committed by Christoph Oelckers
parent 858da4351c
commit 1fe344d273
2 changed files with 3 additions and 1 deletions

View file

@ -1298,7 +1298,7 @@ int dbSaveMap(const char *pPath, int nX, int nY, int nZ, short nAngle, short nSe
{
nSize += sizeof(MAPHEADER2);
}
for (int i = 0; i < nSpriteNum; i++)
for (int i = 0; i < gSkyCount; i++)
tpskyoff[i] = pSky->tileofs[i];
nSize += gSkyCount*sizeof(tpskyoff[0]);
nSize += sizeof(sectortype)*numsectors;

View file

@ -876,6 +876,8 @@ EXTERN char show2dsector[(MAXSECTORS+7)>>3];
EXTERN char show2dwall[(MAXWALLS+7)>>3];
EXTERN char show2dsprite[(MAXSPRITES+7)>>3];
EXTERN char wallcstat14[(MAXWALLS+7)>>3];
// In the editor, gotpic is only referenced from inline assembly;
// the compiler needs that hint or building with LTO will discard it.
#if !defined __clang__ && !defined NOASM