summaryrefslogtreecommitdiff
path: root/src/cargopacket.cpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2008-06-27 17:46:43 +0000
committerskidd13 <skidd13@openttd.org>2008-06-27 17:46:43 +0000
commit0a178274e279d0f2737c870e366529b42c7edd73 (patch)
tree36a4da60f2a4bc2eec04719a969772bbbe90137d /src/cargopacket.cpp
parent54333f5f06fb96ff23aa422f3bde3934083e968d (diff)
downloadopenttd-0a178274e279d0f2737c870e366529b42c7edd73.tar.xz
(svn r13647) -Codechange: replace MAX_UVALUE() for std types with the equivalent constant
Diffstat (limited to 'src/cargopacket.cpp')
-rw-r--r--src/cargopacket.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cargopacket.cpp b/src/cargopacket.cpp
index b743ebd16..244463977 100644
--- a/src/cargopacket.cpp
+++ b/src/cargopacket.cpp
@@ -242,7 +242,7 @@ bool CargoList::MoveTo(CargoList *dest, uint count, CargoList::MoveToAction mta,
if (mta == MTA_FINAL_DELIVERY && !tmp.Empty()) {
/* There are some packets that could not be delivered at the station, put them back */
- tmp.MoveTo(this, MAX_UVALUE(uint));
+ tmp.MoveTo(this, UINT_MAX);
tmp.packets.clear();
}