Merge branch 'teledwarf' into experimental

develop
expwnent 2012-09-28 19:17:56 -04:00
commit 0e124bf62b
1 changed files with 1 additions and 0 deletions

@ -65,6 +65,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
df::coord2d pos(unit->pos.x % 16, unit->pos.y % 16); df::coord2d pos(unit->pos.x % 16, unit->pos.y % 16);
df::tile_occupancy occ = block->OccupancyAt(pos); df::tile_occupancy occ = block->OccupancyAt(pos);
occ.bits.unit = 0; occ.bits.unit = 0;
occ.bits.unit_grounded = 0;
block->setOccupancyAt(pos, occ); block->setOccupancyAt(pos, occ);
//move immediately to destination //move immediately to destination