diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-27 19:37:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-27 19:41:51 +0300 |
commit | e05913dbd84ab444dcf41fcc00bf6aa5470d79fe (patch) | |
tree | 3cac4530f8ab7e5c9bb8def6ddfcae6bd604b042 /src/actions | |
parent | 1f90dd8fea01c835816b3ed67f07561ae29b6ddc (diff) | |
download | manaverse-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.gz manaverse-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.bz2 manaverse-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.tar.xz manaverse-e05913dbd84ab444dcf41fcc00bf6aa5470d79fe.zip |
Remove action "reset yellow bar" from context menu.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/actions.cpp | 6 | ||||
-rw-r--r-- | src/actions/actions.h | 1 |
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 |