mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-17 18:21:10 +00:00
All lumps with the "SOC_" prefix in their names are now read as SOCs.
This commit is contained in:
parent
6fd3036112
commit
af3c4755dc
1 changed files with 10 additions and 0 deletions
10
src/w_wad.c
10
src/w_wad.c
|
@ -147,6 +147,16 @@ static inline void W_LoadDehackedLumps(UINT16 wadnum)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
{
|
||||||
|
lumpinfo_t *lump_p = wadfiles[wadnum]->lumpinfo;
|
||||||
|
for (lump = 0; lump < wadfiles[wadnum]->numlumps; lump++, lump_p++)
|
||||||
|
if (memcmp(lump_p->name,"SOC_",4)==0)
|
||||||
|
{
|
||||||
|
CONS_Printf(M_GetText("Loading SOC from %s\n"), wadfiles[wadnum]->filename);
|
||||||
|
DEH_LoadDehackedLumpPwad(wadnum, lump);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Check for MAINCFG
|
// Check for MAINCFG
|
||||||
for (lump = 0;lump != INT16_MAX;lump++)
|
for (lump = 0;lump != INT16_MAX;lump++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue