[util] Write the correct bsp format id for bsp2

Oops :P
This commit is contained in:
Bill Currie 2021-08-01 14:07:24 +09:00
parent 523ab007d6
commit 80a89c5e1e

View file

@ -810,7 +810,8 @@ do { \
} \
} while (0)
tbsp->header->version = BSPVERSION;
memcpy (&tbsp->header->version, BSP2VERSION,
sizeof (tbsp->header->version));
data = (byte *) &tbsp->header[1];
SET_LUMP (LUMP_PLANES, planes);