diff options
| author | Mike Stewart | 2012-02-21 23:31:53 -0800 |
|---|---|---|
| committer | Mike Stewart | 2012-02-21 23:31:53 -0800 |
| commit | baea2535781b5667238fcc8cfc78ddb4436892bc (patch) | |
| tree | a26c660acb947dcfd8c5a0227385cc3ac9d44e8b /plugins/follow.cpp | |
| parent | 14b471a45933c5eb8b94c834a387ea91b0644a00 (diff) | |
| parent | 34c9c2d663198ce33a270bfa84332684d4cba22b (diff) | |
| download | dfhack-baea2535781b5667238fcc8cfc78ddb4436892bc.tar.gz dfhack-baea2535781b5667238fcc8cfc78ddb4436892bc.tar.bz2 dfhack-baea2535781b5667238fcc8cfc78ddb4436892bc.tar.xz | |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'plugins/follow.cpp')
| -rw-r--r-- | plugins/follow.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/plugins/follow.cpp b/plugins/follow.cpp index 19536f25..26688534 100644 --- a/plugins/follow.cpp +++ b/plugins/follow.cpp @@ -23,15 +23,10 @@ df::unit *followedUnit; int32_t prevX, prevY, prevZ; uint8_t prevMenuWidth; -DFhackCExport const char * plugin_name ( void ) -{ - return "follow"; -} - +DFHACK_PLUGIN("follow"); DFhackCExport command_result plugin_init ( Core * c, std::vector <PluginCommand> &commands) { - commands.clear(); commands.push_back(PluginCommand( "follow", "Follow the selected unit until camera control is released", follow, false, |
