summaryrefslogtreecommitdiff
path: root/network.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2006-03-06 19:23:26 +0000
committerpeter1138 <peter1138@openttd.org>2006-03-06 19:23:26 +0000
commit995a4572ec150b21f4f2fa401d67f6f6ba75a10a (patch)
treec552349e25ddb475593755d82d1d78253708ddf0 /network.h
parentce2135341952f61407c268925df5efc2971a4ff0 (diff)
downloadopenttd-995a4572ec150b21f4f2fa401d67f6f6ba75a10a.tar.xz
(svn r3775) Fix loading of server_port from config file, introduced in Darkvater's unified configuration changes (r3719+)
Diffstat (limited to 'network.h')
-rw-r--r--network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.h b/network.h
index f3602ea48..afa17adf3 100644
--- a/network.h
+++ b/network.h
@@ -159,7 +159,7 @@ VARDEF uint32 _last_sync_frame; // Used in the server to store the last time a s
// networking settings
VARDEF uint32 _network_ip_list[MAX_INTERFACES + 1]; // Network IPs
-VARDEF uint _network_server_port;
+VARDEF uint16 _network_server_port;
/* We use bind_ip and bind_ip_host, where bind_ip_host is the readable form of
bind_ip_host, and bind_ip the numeric value, because we want a nice number
in the openttd.cfg, but we wants to use the uint32 internally.. */