summaryrefslogtreecommitdiff
path: root/plugins/fastdwarf.cpp
diff options
context:
space:
mode:
authorexpwnent2012-09-28 19:17:56 -0400
committerexpwnent2012-09-28 19:17:56 -0400
commit0e124bf62bd5aeae4b7adbb32ae5819fc7175b2d (patch)
treea95841cbfc1e0cd82b6d045452ec88a473c8c46e /plugins/fastdwarf.cpp
parent4b99d096da95ebc44d1cd8b8788b4166b45bfeda (diff)
parentd41c4849f96eef155b41eac29d887ce926bd1781 (diff)
downloaddfhack-0e124bf62bd5aeae4b7adbb32ae5819fc7175b2d.tar.gz
dfhack-0e124bf62bd5aeae4b7adbb32ae5819fc7175b2d.tar.bz2
dfhack-0e124bf62bd5aeae4b7adbb32ae5819fc7175b2d.tar.xz
Merge branch 'teledwarf' into experimental
Diffstat (limited to 'plugins/fastdwarf.cpp')
-rw-r--r--plugins/fastdwarf.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/fastdwarf.cpp b/plugins/fastdwarf.cpp
index 4c235394..aea14e7f 100644
--- a/plugins/fastdwarf.cpp
+++ b/plugins/fastdwarf.cpp
@@ -65,6 +65,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
df::coord2d pos(unit->pos.x % 16, unit->pos.y % 16);
df::tile_occupancy occ = block->OccupancyAt(pos);
occ.bits.unit = 0;
+ occ.bits.unit_grounded = 0;
block->setOccupancyAt(pos, occ);
//move immediately to destination