diff options
author | skidd13 <skidd13@openttd.org> | 2007-11-19 18:38:10 +0000 |
---|---|---|
committer | skidd13 <skidd13@openttd.org> | 2007-11-19 18:38:10 +0000 |
commit | 98f66552beadfa14cf28cd126fc462a5abe3087b (patch) | |
tree | 7818a2f346fc9a85d84a2a844989ea1a90136b90 /src/network/core | |
parent | 9e385d2427fd017e90182aa152e488ce026ace19 (diff) | |
download | openttd-98f66552beadfa14cf28cd126fc462a5abe3087b.tar.xz |
(svn r11475) -Codechange: rename clamp and clampu to Clamp and ClampU to fit with the coding style
Diffstat (limited to 'src/network/core')
-rw-r--r-- | src/network/core/udp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp index a2959eb9a..0c9c74ed1 100644 --- a/src/network/core/udp.cpp +++ b/src/network/core/udp.cpp @@ -230,8 +230,8 @@ void NetworkUDPSocketHandler::Recv_NetworkGameInfo(Packet *p, NetworkGameInfo *i } } /* Fallthrough */ case 3: - info->game_date = clamp(p->Recv_uint32(), 0, MAX_DATE); - info->start_date = clamp(p->Recv_uint32(), 0, MAX_DATE); + info->game_date = Clamp(p->Recv_uint32(), 0, MAX_DATE); + info->start_date = Clamp(p->Recv_uint32(), 0, MAX_DATE); /* Fallthrough */ case 2: info->companies_max = p->Recv_uint8 (); |