summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 18:28:40 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 18:28:40 +0300
commitbb604b783f5909d068ced29e17a698a37115ebb6 (patch)
tree9ffb791e7ede21177f5377ac18227f7596f7ccee /src/actions/commands.cpp
parent7e3a0e3668788cc9e63b0bc7f69ce793e2680ec4 (diff)
downloadmanaplus-bb604b783f5909d068ced29e17a698a37115ebb6.tar.gz
manaplus-bb604b783f5909d068ced29e17a698a37115ebb6.tar.bz2
manaplus-bb604b783f5909d068ced29e17a698a37115ebb6.tar.xz
manaplus-bb604b783f5909d068ced29e17a698a37115ebb6.zip
Add chat command /showcart. Also add show cart to player context menu.
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 43fca1874..503cb95dc 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1293,4 +1293,10 @@ impHandler(commandShowStorage)
return true;
}
+impHandler(commandShowCart)
+{
+ adminHandler->showCartList(event.args);
+ return true;
+}
+
} // namespace Actions