compile fixes.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4077 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
b6a9a64124
commit
8463ccc861
2 changed files with 8 additions and 1 deletions
|
@ -515,7 +515,7 @@ batch_t *D3DBE_GetTempBatch(void);
|
||||||
void D3DBE_GenBrushModelVBO(model_t *mod);
|
void D3DBE_GenBrushModelVBO(model_t *mod);
|
||||||
void D3DBE_ClearVBO(vbo_t *vbo);
|
void D3DBE_ClearVBO(vbo_t *vbo);
|
||||||
void D3DBE_UploadAllLightmaps(void);
|
void D3DBE_UploadAllLightmaps(void);
|
||||||
void D3DBE_DrawWorld (qboolean drawworld, qbyte *vis)
|
void D3DBE_DrawWorld (qboolean drawworld, qbyte *vis);
|
||||||
qboolean D3DBE_LightCullModel(vec3_t org, model_t *model);
|
qboolean D3DBE_LightCullModel(vec3_t org, model_t *model);
|
||||||
void D3DBE_SelectEntity(entity_t *ent);
|
void D3DBE_SelectEntity(entity_t *ent);
|
||||||
void D3DBE_SelectDLight(dlight_t *dl, vec3_t colour);
|
void D3DBE_SelectDLight(dlight_t *dl, vec3_t colour);
|
||||||
|
|
|
@ -1736,6 +1736,9 @@ qboolean Mod_LoadBrushModel (model_t *mod, void *buffer)
|
||||||
int start;
|
int start;
|
||||||
qboolean noerrors;
|
qboolean noerrors;
|
||||||
qboolean longm = false;
|
qboolean longm = false;
|
||||||
|
#ifdef TERRAIN
|
||||||
|
model_t *lm = loadmodel;
|
||||||
|
#endif
|
||||||
|
|
||||||
start = Hunk_LowMark();
|
start = Hunk_LowMark();
|
||||||
|
|
||||||
|
@ -1871,6 +1874,10 @@ qboolean Mod_LoadBrushModel (model_t *mod, void *buffer)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef TERRAIN
|
||||||
|
lm->terrain = Mod_LoadTerrainInfo(lm, loadname);
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue