diff options
author | Tim Angus <tim@ngus.net> | 2004-05-01 02:03:55 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2004-05-01 02:03:55 +0000 |
commit | 127ade46d41e599b55d4359eae5eebf69f638aee (patch) | |
tree | 6e154fde3fc1dae0c167aa1cfc96181f5e3862f8 /src/game/g_local.h | |
parent | 36ceed63fed29968e418ac4d4bd60d1c1a14bec8 (diff) |
* A plethora of assorted fiddles
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 2 |
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 ); |