summaryrefslogtreecommitdiff
path: root/plugins/reveal.cpp
diff options
context:
space:
mode:
authorQuietust2012-03-03 14:13:51 -0600
committerQuietust2012-03-03 14:13:51 -0600
commite43a87b13b70e11b518eac450cc5f789d04badcb (patch)
tree3f663945c07558b0389c7eae6338aedc39a5b2b4 /plugins/reveal.cpp
parent5d4114f5b797f302b903116d1439e6d94fa6d7f5 (diff)
parent7fe8762852c11caeaeb486e9b76f024f5cbaf0d6 (diff)
downloaddfhack-e43a87b13b70e11b518eac450cc5f789d04badcb.tar.gz
dfhack-e43a87b13b70e11b518eac450cc5f789d04badcb.tar.bz2
dfhack-e43a87b13b70e11b518eac450cc5f789d04badcb.tar.xz
Merge branch 'master' of git://github.com/peterix/dfhack
Diffstat (limited to 'plugins/reveal.cpp')
-rw-r--r--plugins/reveal.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/reveal.cpp b/plugins/reveal.cpp
index 647ad21d..a5d00195 100644
--- a/plugins/reveal.cpp
+++ b/plugins/reveal.cpp
@@ -328,7 +328,6 @@ command_result revflood(DFHack::Core * c, std::vector<std::string> & params)
}
CoreSuspender suspend(c);
uint32_t x_max,y_max,z_max;
- Gui * Gui = c->getGui();
World * World = c->getWorld();
if (!Maps::IsValid())
{
@@ -352,7 +351,7 @@ command_result revflood(DFHack::Core * c, std::vector<std::string> & params)
uint32_t tx_max = x_max * 16;
uint32_t ty_max = y_max * 16;
- Gui->getCursorCoords(cx,cy,cz);
+ Gui::getCursorCoords(cx,cy,cz);
if(cx == -30000)
{
c->con.printerr("Cursor is not active. Point the cursor at some empty space you want to be unhidden.\n");