summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-26 15:41:52 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-26 15:41:52 +0300
commitffe1b11e981112a662669358863805fabe14e94c (patch)
tree8f63c2127f123676cdd28491f33060f7eca84e0d /src/actions
parentb44ae759ff5a848b7c6d15dc80bba4e7a6948575 (diff)
downloadmv-ffe1b11e981112a662669358863805fabe14e94c.tar.gz
mv-ffe1b11e981112a662669358863805fabe14e94c.tar.bz2
mv-ffe1b11e981112a662669358863805fabe14e94c.tar.xz
mv-ffe1b11e981112a662669358863805fabe14e94c.zip
Move chat command /priceload into actions.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp10
-rw-r--r--src/actions/actions.h1
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