mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-18 07:22:03 +00:00
Check that lumps are okay
This commit is contained in:
parent
f0e16cad32
commit
7ac0a8b4d2
1 changed files with 76 additions and 73 deletions
|
@ -649,6 +649,8 @@ static void P_NetArchiveWorld(void)
|
||||||
|
|
||||||
mld = W_CacheLumpNum(lastloadedmaplumpnum+ML_LINEDEFS, PU_CACHE);
|
mld = W_CacheLumpNum(lastloadedmaplumpnum+ML_LINEDEFS, PU_CACHE);
|
||||||
msd = W_CacheLumpNum(lastloadedmaplumpnum+ML_SIDEDEFS, PU_CACHE);
|
msd = W_CacheLumpNum(lastloadedmaplumpnum+ML_SIDEDEFS, PU_CACHE);
|
||||||
|
if (mld && msd)
|
||||||
|
{
|
||||||
// do lines
|
// do lines
|
||||||
for (i = 0; i < numlines; i++, mld++, li++)
|
for (i = 0; i < numlines; i++, mld++, li++)
|
||||||
{
|
{
|
||||||
|
@ -729,6 +731,7 @@ static void P_NetArchiveWorld(void)
|
||||||
WRITEINT32(put, si->midtexture);
|
WRITEINT32(put, si->midtexture);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
WRITEUINT16(put, 0xffff);
|
WRITEUINT16(put, 0xffff);
|
||||||
R_ClearTextureNumCache(false);
|
R_ClearTextureNumCache(false);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue