summaryrefslogtreecommitdiff
path: root/plugins/reveal.cpp
diff options
context:
space:
mode:
authorQuietust2012-01-20 10:13:34 -0600
committerQuietust2012-01-20 10:13:34 -0600
commitcbac8259ede9841ef76fb585623c1276bafce851 (patch)
tree5933ed7990dd741b60a78a5174066ea0f9383d87 /plugins/reveal.cpp
parent67f60a07bd1a288c51891bba201aff84c97aa185 (diff)
downloaddfhack-cbac8259ede9841ef76fb585623c1276bafce851.tar.gz
dfhack-cbac8259ede9841ef76fb585623c1276bafce851.tar.bz2
dfhack-cbac8259ede9841ef76fb585623c1276bafce851.tar.xz
Fix unreveal
Diffstat (limited to 'plugins/reveal.cpp')
-rw-r--r--plugins/reveal.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/reveal.cpp b/plugins/reveal.cpp
index f11364e0..a2818dc1 100644
--- a/plugins/reveal.cpp
+++ b/plugins/reveal.cpp
@@ -264,7 +264,7 @@ DFhackCExport command_result unreveal(DFHack::Core * c, std::vector<std::string>
for(size_t i = 0; i < hidesaved.size();i++)
{
hideblock & hb = hidesaved[i];
- df::map_block * b = Maps::getBlock(hb.c.x,hb.c.y,hb.c.z);
+ df::map_block * b = Maps::getBlockAbs(hb.c.x,hb.c.y,hb.c.z);
for (uint32_t x = 0; x < 16;x++) for (uint32_t y = 0; y < 16;y++)
{
b->designation[x][y].bits.hidden = hb.hiddens[x][y];