From 127ade46d41e599b55d4359eae5eebf69f638aee Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Sat, 1 May 2004 02:03:55 +0000 Subject: * A plethora of assorted fiddles --- src/game/g_local.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/g_local.h') 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 ); -- cgit