Kelly Martin 2012-07-11 14:37:06 -05:00
commit 08469abd09
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit eb6f706d702367ea3121272670e603000bbdd42a Subproject commit 3663b22e25a6772b9f2765caaff81914c131c1cc

@ -140,7 +140,7 @@ static command_result autodump_main(color_ostream &out, vector <string> & parame
return CR_FAILURE; return CR_FAILURE;
} }
df::tiletype ttype = MC.tiletypeAt(pos_cursor); df::tiletype ttype = MC.tiletypeAt(pos_cursor);
if(!DFHack::isFloorTerrain(ttype)) if(!DFHack::isWalkable(ttype) || DFHack::isOpenTerrain(ttype))
{ {
out.printerr("Cursor should be placed over a floor.\n"); out.printerr("Cursor should be placed over a floor.\n");
return CR_FAILURE; return CR_FAILURE;