summaryrefslogtreecommitdiff
path: root/src/game/bg_misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/bg_misc.c')
-rw-r--r--src/game/bg_misc.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/bg_misc.c b/src/game/bg_misc.c
index 204fa878..ed4dd30c 100644
--- a/src/game/bg_misc.c
+++ b/src/game/bg_misc.c
@@ -3973,3 +3973,7 @@ char *BG_TeamName( team_t team )
return "<team>";
}
+int cmdcmp( const void *a, const void *b )
+{
+ return Q_stricmp( (const char *)a, ((dummyCmd_t *)b)->name );
+}