summaryrefslogtreecommitdiff
path: root/plugins/changevein.cpp
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-04-11 12:01:27 +0400
committerAlexander Gavrilov2012-04-11 12:01:27 +0400
commitc7b922250b5e41cb78b8636a706fdc07be615974 (patch)
tree2264c4993db36afae51853307505c7572017bf82 /plugins/changevein.cpp
parent59ddbfacb70a8f56e3fa2088ada1df71d8d158de (diff)
downloaddfhack-c7b922250b5e41cb78b8636a706fdc07be615974.tar.gz
dfhack-c7b922250b5e41cb78b8636a706fdc07be615974.tar.bz2
dfhack-c7b922250b5e41cb78b8636a706fdc07be615974.tar.xz
More maps api refactoring and renaming.
getBlockAbs is a very confusing name; getTileBlock is better.
Diffstat (limited to 'plugins/changevein.cpp')
-rw-r--r--plugins/changevein.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/changevein.cpp b/plugins/changevein.cpp
index 133d7ef4..1d08cfea 100644
--- a/plugins/changevein.cpp
+++ b/plugins/changevein.cpp
@@ -50,7 +50,7 @@ command_result df_changevein (color_ostream &out, vector <string> & parameters)
return CR_FAILURE;
}
- df::map_block *block = Maps::getBlockAbs(cursor->x, cursor->y, cursor->z);
+ df::map_block *block = Maps::getTileBlock(cursor->x, cursor->y, cursor->z);
if (!block)
{
out.printerr("Invalid tile selected.\n");