]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - netconn.c
Rework game specific hacks to have a special group for Nexuiz-derived games.
[xonotic/darkplaces.git] / netconn.c
index 00adb61a7ca265edda56cc95b02ab019207d58cb..eb99dbd6e9517dbd5fcf2cbb409b9e9335956aaa 100755 (executable)
--- a/netconn.c
+++ b/netconn.c
@@ -2509,7 +2509,7 @@ static qboolean NetConn_BuildStatusResponse(const char* challenge, char* out_msg
                                        *p = 0;
                                }
 
-                               if ((gamemode == GAME_NEXUIZ || gamemode == GAME_XONOTIC) && (teamplay.integer > 0))
+                               if (IS_NEXUIZ_DERIVED(gamemode) && (teamplay.integer > 0))
                                {
                                        if(cl->frags == -666) // spectator
                                                strlcpy(teambuf, " 0", sizeof(teambuf));