diff options
| author | Petr Mrázek | 2012-03-03 14:38:24 +0100 |
|---|---|---|
| committer | Petr Mrázek | 2012-03-03 14:38:24 +0100 |
| commit | 7fe8762852c11caeaeb486e9b76f024f5cbaf0d6 (patch) | |
| tree | 161c80a0738fa1d4d1b8fed845c59f29bd3abf9e /plugins/reveal.cpp | |
| parent | 022822277d80152ca6ba4fad6102d68df35a7adc (diff) | |
| download | dfhack-7fe8762852c11caeaeb486e9b76f024f5cbaf0d6.tar.gz dfhack-7fe8762852c11caeaeb486e9b76f024f5cbaf0d6.tar.bz2 dfhack-7fe8762852c11caeaeb486e9b76f024f5cbaf0d6.tar.xz | |
Get rid of Simple namespace, Gui module is now a namespace.
Diffstat (limited to 'plugins/reveal.cpp')
| -rw-r--r-- | plugins/reveal.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/reveal.cpp b/plugins/reveal.cpp index fd9b65c9..01dcaf89 100644 --- a/plugins/reveal.cpp +++ b/plugins/reveal.cpp @@ -303,7 +303,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()) { @@ -327,7 +326,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"); |
