mirror of
https://git.code.sf.net/p/quake/newtree
synced 2024-11-29 07:12:30 +00:00
Fixed server. Whoot. :)
This commit is contained in:
parent
1501c63997
commit
125dc1252b
1 changed files with 3 additions and 1 deletions
|
@ -1133,8 +1133,10 @@ void Mod_LoadBrushModel (model_t *mod, void *buffer)
|
||||||
header = (dheader_t *)buffer;
|
header = (dheader_t *)buffer;
|
||||||
|
|
||||||
i = LittleLong (header->version);
|
i = LittleLong (header->version);
|
||||||
if (i != BSPVERSION)
|
if ((i != BSPVERSION) && (i != 30))
|
||||||
SV_Error ("Mod_LoadBrushModel: %s has wrong version number (%i should be %i)", mod->name, i, BSPVERSION);
|
SV_Error ("Mod_LoadBrushModel: %s has wrong version number (%i should be %i)", mod->name, i, BSPVERSION);
|
||||||
|
if ((!isServer) && (i == 30))
|
||||||
|
Sys_Error ("Mod_LoadBrushModel: Software cannot load Half-Life maps.");
|
||||||
|
|
||||||
// swap all the lumps
|
// swap all the lumps
|
||||||
mod_base = (byte *)header;
|
mod_base = (byte *)header;
|
||||||
|
|
Loading…
Reference in a new issue