diff options
| author | Quietust | 2012-01-20 10:13:34 -0600 |
|---|---|---|
| committer | Quietust | 2012-01-20 10:13:34 -0600 |
| commit | cbac8259ede9841ef76fb585623c1276bafce851 (patch) | |
| tree | 5933ed7990dd741b60a78a5174066ea0f9383d87 /plugins/reveal.cpp | |
| parent | 67f60a07bd1a288c51891bba201aff84c97aa185 (diff) | |
| download | dfhack-cbac8259ede9841ef76fb585623c1276bafce851.tar.gz dfhack-cbac8259ede9841ef76fb585623c1276bafce851.tar.bz2 dfhack-cbac8259ede9841ef76fb585623c1276bafce851.tar.xz | |
Fix unreveal
Diffstat (limited to 'plugins/reveal.cpp')
| -rw-r--r-- | plugins/reveal.cpp | 2 |
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]; |
