summaryrefslogtreecommitdiff
path: root/plugins/flows.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2011-08-14 08:42:21 +0200
committerPetr Mrázek2011-08-14 08:42:21 +0200
commita0f99ef7079bb741dcfa44b7365e3b13f3ec9016 (patch)
tree6c2cb7419868999914e8514a3e7bc8f5f755f447 /plugins/flows.cpp
parent02ea81c0b32a50f18497e2c4d99c005ae6f0e5d0 (diff)
downloaddfhack-a0f99ef7079bb741dcfa44b7365e3b13f3ec9016.tar.gz
dfhack-a0f99ef7079bb741dcfa44b7365e3b13f3ec9016.tar.bz2
dfhack-a0f99ef7079bb741dcfa44b7365e3b13f3ec9016.tar.xz
Many tweaks to plugins, reorganized the build system and removed more cruft.
Diffstat (limited to 'plugins/flows.cpp')
-rw-r--r--plugins/flows.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/flows.cpp b/plugins/flows.cpp
index 7343360e..b82d01ad 100644
--- a/plugins/flows.cpp
+++ b/plugins/flows.cpp
@@ -24,7 +24,7 @@ DFhackCExport command_result plugin_init ( Core * c, std::vector <PluginCommand>
{
commands.clear();
commands.push_back(PluginCommand("flows",
- "De-ramp. All ramps marked for removal are replaced with floors.",
+ "Counts map blocks with flowing liquids.",
df_flows));
return CR_OK;
}
@@ -41,7 +41,7 @@ DFhackCExport command_result df_flows (Core * c, vector <string> & parameters)
DFHack::Maps *Maps;
c->Suspend();
-
+ Maps = c->getMaps();
// init the map
if(!Maps->Start())
{