summaryrefslogtreecommitdiff
path: root/src/common/core.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/core.hpp')
-rw-r--r--src/common/core.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/common/core.hpp b/src/common/core.hpp
index f93f5a1..8141e9c 100644
--- a/src/common/core.hpp
+++ b/src/common/core.hpp
@@ -8,9 +8,8 @@
/// core.c contains a server-independent main() function
/// and then runs a do_sendrecv loop
-/// When this is cleared, the server exits gracefully
-/// only used by map server's GM command: @mapexit
-extern bool runflag;
+/// When this is cleared, the server exits gracefully.
+extern volatile bool runflag;
/// This is an external function defined by each server
/// This function must register stuff for the parse loop