diff options
| author | expwnent | 2012-09-28 19:17:12 -0400 |
|---|---|---|
| committer | expwnent | 2012-09-28 19:17:12 -0400 |
| commit | d41c4849f96eef155b41eac29d887ce926bd1781 (patch) | |
| tree | e366b3ecc2ccac2b66a9ca0ad4a3efe051274c65 /plugins/fastdwarf.cpp | |
| parent | 1bde32fa5b72a070a81c142b4044f8fd355e2145 (diff) | |
| download | dfhack-d41c4849f96eef155b41eac29d887ce926bd1781.tar.gz dfhack-d41c4849f96eef155b41eac29d887ce926bd1781.tar.bz2 dfhack-d41c4849f96eef155b41eac29d887ce926bd1781.tar.xz | |
Fixed unit_grounded in teleporting dwarf tile.
Diffstat (limited to 'plugins/fastdwarf.cpp')
| -rw-r--r-- | plugins/fastdwarf.cpp | 1 |
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 |
