Check that lumps are okay

This commit is contained in:
James R 2019-03-04 22:13:22 -08:00
parent 5537c62271
commit f57335deef

View file

@ -677,6 +677,8 @@ static void P_NetArchiveWorld(void)
mld = W_CacheLumpNum(lastloadedmaplumpnum+ML_LINEDEFS, PU_CACHE);
msd = W_CacheLumpNum(lastloadedmaplumpnum+ML_SIDEDEFS, PU_CACHE);
if (mld && msd)
{
// do lines
for (i = 0; i < numlines; i++, mld++, li++)
{
@ -757,6 +759,7 @@ static void P_NetArchiveWorld(void)
WRITEINT32(put, si->midtexture);
}
}
}
WRITEUINT16(put, 0xffff);
R_ClearTextureNumCache(false);