From c06c787acceec22845f023b2f849858d36af6585 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 21:17:29 +0300 Subject: Move chat command /wait into actions. --- src/actions/commands.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/actions/commands.cpp') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 2e0f8d6fe..717c7df09 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -457,4 +457,14 @@ impHandler(info) return true; } +impHandler(wait) +{ + if (localPlayer) + { + localPlayer->waitFor(event.args); + return true; + } + return false; +} + } // namespace Actions -- cgit v1.2.3-60-g2f50