summaryrefslogtreecommitdiff
path: root/plugins/filltraffic.cpp
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-01-20 14:28:00 +0400
committerAlexander Gavrilov2012-01-20 14:28:00 +0400
commitcc510a2c4b9887b885c939419bf67147ee997ac6 (patch)
treec36fa4c4adbf6cd745143b4cf1ca7d203edc4c4f /plugins/filltraffic.cpp
parentd35d070ff312e28abedd5fee003db01ef0454b59 (diff)
downloaddfhack-cc510a2c4b9887b885c939419bf67147ee997ac6.tar.gz
dfhack-cc510a2c4b9887b885c939419bf67147ee997ac6.tar.bz2
dfhack-cc510a2c4b9887b885c939419bf67147ee997ac6.tar.xz
Replace DFCoord with df::coord and df::coord2d.
Diffstat (limited to 'plugins/filltraffic.cpp')
-rw-r--r--plugins/filltraffic.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/filltraffic.cpp b/plugins/filltraffic.cpp
index b7853b1b..c87b5016 100644
--- a/plugins/filltraffic.cpp
+++ b/plugins/filltraffic.cpp
@@ -300,7 +300,7 @@ DFhackCExport command_result setAllMatching(DFHack::Core * c, checkTile checkPro
//Ensure maximum coordinate is within map. Truncate to map edge.
maxCoord.x = std::min((uint32_t) maxCoord.x, tx_max);
maxCoord.y = std::min((uint32_t) maxCoord.y, ty_max);
- maxCoord.z = std::min(maxCoord.z, z_max);
+ maxCoord.z = std::min((uint32_t) maxCoord.z, z_max);
//Check minimum co-ordinates against maximum map size
if (minCoord.x > maxCoord.x)