summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-27 19:37:07 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-27 19:41:51 +0300
commite05913dbd84ab444dcf41fcc00bf6aa5470d79fe (patch)
tree3cac4530f8ab7e5c9bb8def6ddfcae6bd604b042 /src/actions
parent1f90dd8fea01c835816b3ed67f07561ae29b6ddc (diff)
downloadplus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.gz
plus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.bz2
plus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.xz
plus-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.zip
Remove action "reset yellow bar" from context menu.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp6
-rw-r--r--src/actions/actions.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index 77da32cd4..a8a6e3c95 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1703,4 +1703,10 @@ impHandler(craftKey)
return false;
}
+impHandler0(resetGameModifiers)
+{
+ GameModifiers::resetModifiers();
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/actions.h b/src/actions/actions.h
index 712017bd0..a19b4964e 100644
--- a/src/actions/actions.h
+++ b/src/actions/actions.h
@@ -110,6 +110,7 @@ namespace Actions
decHandler(clearDrop);
decHandler(testInfo);
decHandler(craftKey);
+ decHandler(resetGameModifiers);
} // namespace Actions
#undef decHandler