summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp6
-rw-r--r--src/actions/commands.h1
2 files changed, 7 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
diff --git a/src/actions/commands.h b/src/actions/commands.h
index 8b02a7322..b171e49e2 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -55,6 +55,7 @@ namespace Actions
decHandler(addAttack);
decHandler(removeAttack);
decHandler(addIgnoreAttack);
+ decHandler(setDrop);
} // namespace Actions
#undef decHandler