summaryrefslogtreecommitdiff
path: root/src/game/g_local.h
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2004-05-01 02:03:55 +0000
committerTim Angus <tim@ngus.net>2004-05-01 02:03:55 +0000
commit127ade46d41e599b55d4359eae5eebf69f638aee (patch)
tree6e154fde3fc1dae0c167aa1cfc96181f5e3862f8 /src/game/g_local.h
parent36ceed63fed29968e418ac4d4bd60d1c1a14bec8 (diff)
* A plethora of assorted fiddles
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r--src/game/g_local.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h
index db6e64d6..38d7f6b6 100644
--- a/src/game/g_local.h
+++ b/src/game/g_local.h
@@ -402,7 +402,7 @@ typedef struct spawnQueue_s
} spawnQueue_t;
#define QUEUE_PLUS1(x) (((x)+1)%MAX_CLIENTS)
-#define QUEUE_MINUS1(x) (((x)-1)%MAX_CLIENTS)
+#define QUEUE_MINUS1(x) (((x)+MAX_CLIENTS-1)%MAX_CLIENTS)
void G_InitSpawnQueue( spawnQueue_t *sq );
int G_GetSpawnQueueLength( spawnQueue_t *sq );