Skip to content

Commit d0ce55f

Browse files
committed
Fix build
1 parent dbb9b68 commit d0ce55f

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/twbl/teeworlds/protocol.h

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,9 @@
44
#if __has_include(<engine/shared/protocol.h>)
55
#include <engine/shared/protocol.h>
66
#else
7-
enum
8-
{
9-
MAX_CLIENTS = 128,
10-
};
7+
#ifndef MAX_CLIENTS
8+
#define MAX_CLIENTS 64
9+
#endif
1110
#endif
1211

1312
#if __has_include(<game/generated/protocol.h>)

0 commit comments

Comments
 (0)