diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-26 15:41:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-26 15:41:52 +0300 |
commit | ffe1b11e981112a662669358863805fabe14e94c (patch) | |
tree | 8f63c2127f123676cdd28491f33060f7eca84e0d /src/actions | |
parent | b44ae759ff5a848b7c6d15dc80bba4e7a6948575 (diff) | |
download | plus-ffe1b11e981112a662669358863805fabe14e94c.tar.gz plus-ffe1b11e981112a662669358863805fabe14e94c.tar.bz2 plus-ffe1b11e981112a662669358863805fabe14e94c.tar.xz plus-ffe1b11e981112a662669358863805fabe14e94c.zip |
Move chat command /priceload into actions.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 10 | ||||
-rw-r--r-- | src/actions/actions.h | 1 |
2 files changed, 11 insertions, 0 deletions
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 |