Fixed server. Whoot. :)

This commit is contained in:
James Brown 2000-06-10 03:46:40 +00:00
parent 1501c63997
commit 125dc1252b

View file

@ -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;