From 4d21eb34bf3b6e5bcce67329819257de8718fbda Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 1 Jul 2022 15:59:41 +1000 Subject: [PATCH] Change Team Keepaway codename to TEAM_KEEPAWAY --- qcsrc/common/gamemodes/gamemode/tka/tka.qh | 2 +- qcsrc/menu/xonotic/util.qc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/common/gamemodes/gamemode/tka/tka.qh b/qcsrc/common/gamemodes/gamemode/tka/tka.qh index 8a07f5f657..db7873454c 100644 --- a/qcsrc/common/gamemodes/gamemode/tka/tka.qh +++ b/qcsrc/common/gamemodes/gamemode/tka/tka.qh @@ -55,7 +55,7 @@ CLASS(TeamKeepaway, Gametype) ATTRIB(TeamKeepaway, m_modicons, void(vector pos, vector mySize), HUD_Mod_TeamKeepaway); #endif ENDCLASS(TeamKeepaway) -REGISTER_GAMETYPE(TEAMKEEPAWAY, NEW(TeamKeepaway)); +REGISTER_GAMETYPE(TEAM_KEEPAWAY, NEW(TeamKeepaway)); const int TKA_BALL_TAKEN_RED = BIT(0); const int TKA_BALL_TAKEN_BLUE = BIT(1); diff --git a/qcsrc/menu/xonotic/util.qc b/qcsrc/menu/xonotic/util.qc index 1a3b072074..2a9c25a5a8 100644 --- a/qcsrc/menu/xonotic/util.qc +++ b/qcsrc/menu/xonotic/util.qc @@ -662,7 +662,7 @@ float updateCompression() GAMETYPE(MAPINFO_TYPE_CA) \ GAMETYPE(MAPINFO_TYPE_FREEZETAG) \ GAMETYPE(MAPINFO_TYPE_KEEPAWAY) \ - GAMETYPE(MAPINFO_TYPE_TEAMKEEPAWAY) \ + GAMETYPE(MAPINFO_TYPE_TEAM_KEEPAWAY) \ GAMETYPE(MAPINFO_TYPE_KEYHUNT) \ GAMETYPE(MAPINFO_TYPE_LMS) \ GAMETYPE(MAPINFO_TYPE_DOMINATION) \ -- 2.39.2