1.1 --- a/sourcemm/metamod_console.cpp Sat Oct 06 16:47:58 2007 +0000
1.2 +++ b/sourcemm/metamod_console.cpp Sat Oct 06 17:01:35 2007 +0000
1.3 @@ -86,6 +86,20 @@
1.4 CONMSG(" DLL Path: %s\n", g_Metamod.GetGameBinaryPath());
1.5 CONMSG(" Interface: ServerGameDLL%03d\n", g_Metamod.GetGameDLLVersion());
1.6
1.7 + int engine = g_Metamod.GetSourceEngineBuild();
1.8 + if (engine == SOURCE_ENGINE_ORIGINAL)
1.9 + {
1.10 + CONMSG(" Engine: Original (pre-Episode 1)\n");
1.11 + }
1.12 + else if (engine == SOURCE_ENGINE_EPISODEONE)
1.13 + {
1.14 + CONMSG(" Engine: Episode 1 (2004)\n");
1.15 + }
1.16 + else if (engine == SOURCE_ENGINE_ORANGEBOX)
1.17 + {
1.18 + CONMSG(" Engine: Episode 2 (Orange Box, 2007)\n");
1.19 + }
1.20 +
1.21 // Display user messages
1.22 int messages = g_Metamod.GetUserMessageCount();
1.23 if (messages != -1)