diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-25 22:03:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-25 22:03:28 +0300 |
commit | d670395fff93f805b666e0cc4cc56cdb880e0bba (patch) | |
tree | e7949649a7c0568b3b238c91092f60606a495f9f /src/gui/popups/popupmenu.cpp | |
parent | 7d6d3d997614e8e76ca9044ca8ed5a81d3b14a95 (diff) | |
download | manaplus-d670395fff93f805b666e0cc4cc56cdb880e0bba.tar.gz manaplus-d670395fff93f805b666e0cc4cc56cdb880e0bba.tar.bz2 manaplus-d670395fff93f805b666e0cc4cc56cdb880e0bba.tar.xz manaplus-d670395fff93f805b666e0cc4cc56cdb880e0bba.zip |
Use all methods in gamemodifiers as static.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index 1712ce34b..50b725a5d 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1722,8 +1722,7 @@ void PopupMenu::handleLink(const std::string &link, } else if (link == "reset yellow") { - if (modifiers) - modifiers->resetModifiers(); + GameModifiers::resetModifiers(); } else if (link == "bar to chat" && !mNick.empty()) { |