From 5d959c5ba476eb0b103fe5953cca69939a6d836a Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 18 Nov 2012 21:54:47 +0000 Subject: Log dedicated server console messages to server.log, print version number and command line to console on startup. --- src/game/game.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/game') diff --git a/src/game/game.cc b/src/game/game.cc index b7c15db..c863582 100644 --- a/src/game/game.cc +++ b/src/game/game.cc @@ -4,7 +4,7 @@ the terms of the GNU General Public License version 2 */ - +#include "core/core.h" #include "core/loader.h" #include "game/game.h" #include "game/base/game.h" @@ -15,6 +15,8 @@ /// register game modules void register_modules(bool register_noninteractive_modules) { + con_print << "^F" << core::name() << " " << core::version() << std::endl; + con_print << "^BRegistering game modules..." << std::endl; // interactive modules -- cgit v1.2.3