diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-06-23 16:45:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-06-23 16:45:51 +0300 |
commit | 6c4c0169b21937853f4892a5c75fafaf024a4314 (patch) | |
tree | 9fb04f968b355c27866dfe1aca6bde36140f666e /src/client.cpp | |
parent | 11673097858a0469fc138908b735038109e3bf59 (diff) | |
download | manaplus-6c4c0169b21937853f4892a5c75fafaf024a4314.tar.gz manaplus-6c4c0169b21937853f4892a5c75fafaf024a4314.tar.bz2 manaplus-6c4c0169b21937853f4892a5c75fafaf024a4314.tar.xz manaplus-6c4c0169b21937853f4892a5c75fafaf024a4314.zip |
Add command line option for crash manaplus on start.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index ed7efa69c..4a82ee9ce 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -560,6 +560,8 @@ void Client::gameInit() mButtonPadding = mSkin->getPadding(); mButtonSpacing = mSkin->getOption("spacing", 3); } + if (settings.options.error) + inputManager.executeAction(InputAction::ERROR); } Client::~Client() |