git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5279 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
a7a050ffe2
commit
d5cbafbed8
1 changed files with 2 additions and 2 deletions
|
@ -4351,7 +4351,7 @@ static cmodel_t *CM_LoadMap (model_t *mod, qbyte *filein, size_t filelen, qboole
|
|||
header.lumps[i].fileofs = LittleLong (header.lumps[i].fileofs);
|
||||
i++;
|
||||
}
|
||||
Q1BSPX_Setup(mod, mod_base, filelen, header.lumps, i);
|
||||
BSPX_Setup(mod, mod_base, filelen, header.lumps, i);
|
||||
|
||||
#ifndef SERVERONLY
|
||||
if (CM_GetQ2Palette())
|
||||
|
@ -4399,7 +4399,7 @@ static cmodel_t *CM_LoadMap (model_t *mod, qbyte *filein, size_t filelen, qboole
|
|||
noerrors = noerrors && Mod_LoadEdges (mod, mod_base, &header.lumps[Q2LUMP_EDGES], false);
|
||||
noerrors = noerrors && Mod_LoadSurfedges (mod, mod_base, &header.lumps[Q2LUMP_SURFEDGES]);
|
||||
if (noerrors)
|
||||
Mod_LoadLighting (mod, mod_base, &header.lumps[Q2LUMP_LIGHTING], header.version == BSPVERSION_Q2W, NULL);
|
||||
Mod_LoadLighting (mod, bspx, mod_base, &header.lumps[Q2LUMP_LIGHTING], header.version == BSPVERSION_Q2W, NULL);
|
||||
noerrors = noerrors && CModQ2_LoadSurfaces (mod, mod_base, &header.lumps[Q2LUMP_TEXINFO]);
|
||||
noerrors = noerrors && CModQ2_LoadPlanes (mod, mod_base, &header.lumps[Q2LUMP_PLANES]);
|
||||
noerrors = noerrors && CModQ2_LoadTexInfo (mod, mod_base, &header.lumps[Q2LUMP_TEXINFO], loadname);
|
||||
|
|
Loading…
Reference in a new issue