diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 23:39:49 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 23:39:49 +0300 |
commit | 8314a1808ff96ec8990c4d9055cad41c05f07dc2 (patch) | |
tree | d541d529516c9624e921d9ad6b5ec418cd69c33f /src/actions/commands.cpp | |
parent | 9f39b5c84d0b244e093380e5ad7d53c2a21d2f34 (diff) | |
download | manaverse-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.gz manaverse-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.bz2 manaverse-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.xz manaverse-8314a1808ff96ec8990c4d9055cad41c05f07dc2.zip |
Move chat command /setdrop into actions.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 80e7493da..018cca54a 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -524,4 +524,10 @@ impHandler(addIgnoreAttack) return true; } +impHandler(setDrop) +{ + GameModifiers::setQuickDropCounter(atoi(event.args.c_str())); + return true; +} + } // namespace Actions |