From 125dc1252b071ad543bca82158c48300cc859dd6 Mon Sep 17 00:00:00 2001 From: James Brown Date: Sat, 10 Jun 2000 03:46:40 +0000 Subject: [PATCH] Fixed server. Whoot. :) --- source/model.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/model.c b/source/model.c index 0132e50..260f775 100644 --- a/source/model.c +++ b/source/model.c @@ -1133,8 +1133,10 @@ void Mod_LoadBrushModel (model_t *mod, void *buffer) header = (dheader_t *)buffer; 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); + if ((!isServer) && (i == 30)) + Sys_Error ("Mod_LoadBrushModel: Software cannot load Half-Life maps."); // swap all the lumps mod_base = (byte *)header;