mbspc: fix q3 entities being loaded twice

This commit is contained in:
Garux 2021-08-15 18:54:28 +03:00
parent 1372ea440b
commit d82996d684

View File

@ -621,9 +621,9 @@ void Q3_LoadMapFromBSP(struct quakefile_s *qf)
brushmodelnumbers[i] = -1;
nummapbrushsides = 0;
num_entities = 0;
Q3_ParseEntities();
if( num_entities == 0 ) // load, unless already loaded by Q3_PrintBSPFileSizes()
Q3_ParseEntities();
//
for (i = 0; i < num_entities; i++)
{