diff options
| author | Alexander Gavrilov | 2012-01-20 14:28:00 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-01-20 14:28:00 +0400 |
| commit | cc510a2c4b9887b885c939419bf67147ee997ac6 (patch) | |
| tree | c36fa4c4adbf6cd745143b4cf1ca7d203edc4c4f /plugins/filltraffic.cpp | |
| parent | d35d070ff312e28abedd5fee003db01ef0454b59 (diff) | |
| download | dfhack-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.cpp | 2 |
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) |
