diff options
author | rubidium <rubidium@openttd.org> | 2008-08-13 06:05:01 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-08-13 06:05:01 +0000 |
commit | c816cc37fd01eb9b0842fd22cf5e79473d338c9f (patch) | |
tree | dd64aeafae6994a4ed4e2d23a71d62db7de1668f /src/network/network.cpp | |
parent | 688267ad524c955567924294d0e066379994773b (diff) | |
download | openttd-c816cc37fd01eb9b0842fd22cf5e79473d338c9f.tar.xz |
(svn r14063) -Codechange: replace some "magic" constants with enumified constants.
Diffstat (limited to 'src/network/network.cpp')
-rw-r--r-- | src/network/network.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/network.cpp b/src/network/network.cpp index 54f6dd1b4..dff8c220d 100644 --- a/src/network/network.cpp +++ b/src/network/network.cpp @@ -72,7 +72,7 @@ uint8 _network_advertise_retries; /* Check whether NETWORK_NUM_LANDSCAPES is still in sync with NUM_LANDSCAPE */ assert_compile((int)NETWORK_NUM_LANDSCAPES == (int)NUM_LANDSCAPE); -assert_compile((int)NETWORK_COMPANY_NAME_LENGTH == MAX_LENGTH_COMPANY_NAME + 1); +assert_compile((int)NETWORK_COMPANY_NAME_LENGTH == MAX_LENGTH_COMPANY_NAME_BYTES); // global variables (declared in network_data.h) CommandPacket *_local_command_queue; |