From 145b36192b3f58ff0150bd705d2fc60311f598bf Mon Sep 17 00:00:00 2001 From: slipher Date: Sat, 26 Oct 2024 13:42:14 -0500 Subject: [PATCH] Fix misleading comment about sv / svs global vars --- src/engine/server/sv_main.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/engine/server/sv_main.cpp b/src/engine/server/sv_main.cpp index 4534a2e7e8..1fc7ec2096 100644 --- a/src/engine/server/sv_main.cpp +++ b/src/engine/server/sv_main.cpp @@ -44,8 +44,10 @@ Maryland 20850 USA. #include "framework/Network.h" #include "qcommon/sys.h" -serverStatic_t svs; // persistent server info -server_t sv; // local server +// These two structs have the same lifetime... both are cleared when the sgame exits +serverStatic_t svs; +server_t sv; + GameVM gvm; // game virtual machine // Controls the gamelogic simulation time slice size. The game time always jumps in increments