From 80a89c5e1e370c3f008233b58d62280d67f17791 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sun, 1 Aug 2021 14:07:24 +0900 Subject: [PATCH] [util] Write the correct bsp format id for bsp2 Oops :P --- libs/util/bspfile.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libs/util/bspfile.c b/libs/util/bspfile.c index 25263ce04..b70bb732b 100644 --- a/libs/util/bspfile.c +++ b/libs/util/bspfile.c @@ -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);