summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-06-23 16:45:51 +0300
committerAndrei Karas <akaras@inbox.ru>2017-06-23 16:45:51 +0300
commit6c4c0169b21937853f4892a5c75fafaf024a4314 (patch)
tree9fb04f968b355c27866dfe1aca6bde36140f666e /src/client.cpp
parent11673097858a0469fc138908b735038109e3bf59 (diff)
downloadmanaverse-6c4c0169b21937853f4892a5c75fafaf024a4314.tar.gz
manaverse-6c4c0169b21937853f4892a5c75fafaf024a4314.tar.bz2
manaverse-6c4c0169b21937853f4892a5c75fafaf024a4314.tar.xz
manaverse-6c4c0169b21937853f4892a5c75fafaf024a4314.zip
Add command line option for crash manaplus on start.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp2
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()