summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-11 18:58:18 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-11 19:11:45 +0300
commit85576f6d4fa83a0151ea08e2684f7babdfcfc707 (patch)
treea152a34c6bef6734ac63d251bc638004f11565a7 /src/actions
parent37eac088655e2d4f5cd9e511058eead078bbf497 (diff)
downloadmv-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.gz
mv-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.bz2
mv-85576f6d4fa83a0151ea08e2684f7babdfcfc707.tar.xz
mv-85576f6d4fa83a0151ea08e2684f7babdfcfc707.zip
Allow set image name prefix in chat command /screenshot.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 78ebe6406..8de4f8793 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -687,9 +687,9 @@ impHandler0(sit)
return false;
}
-impHandler0(screenshot)
+impHandler(screenshot)
{
- Game::createScreenshot();
+ Game::createScreenshot(event.args);
return true;
}