From ffe1b11e981112a662669358863805fabe14e94c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 26 Aug 2014 15:41:52 +0300 Subject: Move chat command /priceload into actions. --- src/actions/actions.cpp | 10 ++++++++++ src/actions/actions.h | 1 + 2 files changed, 11 insertions(+) (limited to 'src/actions') diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp index 9d1279e3f..916bde3c2 100644 --- a/src/actions/actions.cpp +++ b/src/actions/actions.cpp @@ -615,4 +615,14 @@ impHandler(trade) return true; } +impHandler0(priceLoad) +{ + if (shopWindow) + { + shopWindow->loadList(); + return true; + } + return false; +} + } // namespace Actions diff --git a/src/actions/actions.h b/src/actions/actions.h index ea9faadab..5cd21a9d8 100644 --- a/src/actions/actions.h +++ b/src/actions/actions.h @@ -61,6 +61,7 @@ namespace Actions decHandler(cleanFonts); decHandler(attackHuman); decHandler(trade); + decHandler(priceLoad); } // namespace Actions #undef decHandler -- cgit v1.2.3-70-g09d2