summaryrefslogtreecommitdiff
path: root/plugins/seedwatch.cpp
diff options
context:
space:
mode:
authorPetr Mrázek2012-02-21 18:19:17 +0100
committerPetr Mrázek2012-02-21 18:19:17 +0100
commit2cd2ee9b0cc10b79f264c3a9a4597f59835fd419 (patch)
tree7d95cbe0b7abd5d42990a15ed8b8d801a08a48ad /plugins/seedwatch.cpp
parent0b9e849096c95d68c6235c266560a2fb58908151 (diff)
downloaddfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.gz
dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.bz2
dfhack-2cd2ee9b0cc10b79f264c3a9a4597f59835fd419.tar.xz
New plugin interface
Diffstat (limited to 'plugins/seedwatch.cpp')
-rwxr-xr-xplugins/seedwatch.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/seedwatch.cpp b/plugins/seedwatch.cpp
index 3d8f50e8..d5573b40 100755
--- a/plugins/seedwatch.cpp
+++ b/plugins/seedwatch.cpp
@@ -245,10 +245,7 @@ command_result df_seedwatch(Core* pCore, vector<string>& parameters)
return CR_OK;
}
-DFhackCExport const char* plugin_name(void)
-{
- return "seedwatch";
-}
+DFHACK_PLUGIN("seedwatch");
DFhackCExport command_result plugin_init(Core* pCore, vector<PluginCommand>& commands)
{