engine: add few lines in mod_bmodel back, got removed in previous commits accidentally

This commit is contained in:
Alibek Omarov 2023-01-03 18:26:18 +03:00
parent 13ed2742b2
commit d047dfc319

View File

@ -2804,6 +2804,9 @@ qboolean Mod_LoadBmodelLumps( const byte *mod_base, qboolean isworld )
srclumps[1].lumpnumber = LUMP_PLANES; srclumps[1].lumpnumber = LUMP_PLANES;
break; break;
default: default:
Con_Printf( S_ERROR "%s has wrong version number (%i should be %i)\n", loadmodel->name, header->version, HLBSP_VERSION );
loadstat.numerrors++;
return false;
} }
bmod->version = header->version; // share up global bmod->version = header->version; // share up global