Deathmatch classic support

This commit is contained in:
Wizzard
2023-09-20 08:46:08 -04:00
parent c1ff555e17
commit c5e985bc42
4 changed files with 16 additions and 1 deletions

View File

@@ -49,6 +49,9 @@ void load(void) {
else if (IsTFC()) {
i_engine->pfnClientCmd("play 'sound/misc/party2.wav'");
}
else if (IsDeathmatchClassic()) {
i_engine->pfnClientCmd("play 'sound/items/suit.wav'");
}
else
{
i_engine->pfnClientCmd("play 'valve/sound/vox/suit.wav'");
@@ -73,6 +76,9 @@ void load(void) {
case GAME_TFC:
i_engine->pfnClientCmd("echo \"Detected Game: Team Fortress Classic\"");
break;
case GAME_DMC:
i_engine->pfnClientCmd("echo \"Detected Game: Deathmatch Classic\"");
break;
default:
i_engine->pfnClientCmd("echo \"Detected Game: Unknown Game\"");
break;