summaryrefslogtreecommitdiff
path: root/src/net/tmwa
diff options
context:
space:
mode:
authorccc <cc@mail.com>2022-12-21 11:17:02 +0100
committerjak1 <jak1@themanaworld.org>2022-12-27 02:24:55 +0100
commit252ab4b6bcc73c4a798ed4fce5768daf4eac779a (patch)
tree1a68d9bfde6408c8d29098ffc0392462c781efb8 /src/net/tmwa
parentfb262ec89ebc0ce8461f9f03716281b99115e2be (diff)
downloadmv-252ab4b6bcc73c4a798ed4fce5768daf4eac779a.tar.gz
mv-252ab4b6bcc73c4a798ed4fce5768daf4eac779a.tar.bz2
mv-252ab4b6bcc73c4a798ed4fce5768daf4eac779a.tar.xz
mv-252ab4b6bcc73c4a798ed4fce5768daf4eac779a.zip
Add mobinfo command to popup menu
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/adminhandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp
index 3ec67f1e0..748e9c444 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -127,8 +127,9 @@ void AdminHandler::requestStats(const std::string &name A_UNUSED) const
{
}
-void AdminHandler::monsterInfo(const std::string &name A_UNUSED) const
+void AdminHandler::monsterInfo(const std::string &name) const
{
+ Gm::runCommand("mobinfo", name);
}
void AdminHandler::itemInfo(const std::string &name A_UNUSED) const