summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 23:39:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 23:39:49 +0300
commit8314a1808ff96ec8990c4d9055cad41c05f07dc2 (patch)
treed541d529516c9624e921d9ad6b5ec418cd69c33f /src/actions/commands.cpp
parent9f39b5c84d0b244e093380e5ad7d53c2a21d2f34 (diff)
downloadmanaplus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.gz
manaplus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.bz2
manaplus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.tar.xz
manaplus-8314a1808ff96ec8990c4d9055cad41c05f07dc2.zip
Move chat command /setdrop into actions.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp6
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