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/liquids.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/liquids.cpp')
| -rw-r--r-- | plugins/liquids.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/liquids.cpp b/plugins/liquids.cpp index 139faafc..9e26a9e9 100644 --- a/plugins/liquids.cpp +++ b/plugins/liquids.cpp @@ -224,7 +224,6 @@ command_result df_liquids (Core * c, vector <string> & parameters) { int32_t x,y,z; - DFHack::Gui * Position; for(size_t i = 0; i < parameters.size();i++) { if(parameters[i] == "help" || parameters[i] == "?") @@ -429,7 +428,6 @@ command_result df_liquids (Core * c, vector <string> & parameters) else if(command.empty()) { CoreSuspender suspend(c); - Position = c->getGui(); do { if (!Maps::IsValid()) @@ -437,7 +435,7 @@ command_result df_liquids (Core * c, vector <string> & parameters) c->con << "Can't see any DF map loaded." << endl; break;; } - if(!Position->getCursorCoords(x,y,z)) + if(!Gui::getCursorCoords(x,y,z)) { c->con << "Can't get cursor coords! Make sure you have a cursor active in DF." << endl; break; |
