Browse Source

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

pull/2/head
Alibek Omarov 2 years ago
parent
commit
d047dfc319
  1. 3
      engine/common/mod_bmodel.c

3
engine/common/mod_bmodel.c

@ -2804,6 +2804,9 @@ qboolean Mod_LoadBmodelLumps( const byte *mod_base, qboolean isworld ) @@ -2804,6 +2804,9 @@ qboolean Mod_LoadBmodelLumps( const byte *mod_base, qboolean isworld )
srclumps[1].lumpnumber = LUMP_PLANES;
break;
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

Loading…
Cancel
Save