diff options
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 |