From 4128fd62c7b3fee278cd35e41b0001e79f93c97f Mon Sep 17 00:00:00 2001 From: "Richard C. Gobeille" Date: Fri, 12 Jun 2020 13:01:08 -0700 Subject: [PATCH] engine: set g_loadedMapVersion in engineLoadBoardV5V6() # Conflicts: # source/build/src/engine.cpp --- source/build/src/engine.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/build/src/engine.cpp b/source/build/src/engine.cpp index 3cc5b2fbe..418fef914 100644 --- a/source/build/src/engine.cpp +++ b/source/build/src/engine.cpp @@ -3953,6 +3953,8 @@ int32_t engineLoadBoardV5V6(const char *filename, char fromwhere, vec3_t *dapos, // Done reading file. + g_loadedMapVersion = mapversion; + return engineFinishLoadBoard(dapos, dacursectnum, numsprites, 0); }