From 86c02e2712e2177ae6a41bbfa66e6284d6ff9b15 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Feb 2016 18:37:52 +0300 Subject: Add chat command /loadposition. Also add it to player context menu. --- src/net/eathena/adminhandler.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/net/eathena/adminhandler.cpp') diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp index 9794a8b51..80a1df983 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -255,4 +255,9 @@ void AdminHandler::savePosition(const std::string &name) const Gm::runCharCommand("save", name); } +void AdminHandler::loadPosition(const std::string &name) const +{ + Gm::runCharCommand("load", name); +} + } // namespace EAthena -- cgit v1.2.3-70-g09d2