summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-11-09 03:54:20 +0300
committerAndrei Karas <akaras@inbox.ru>2011-11-09 03:54:20 +0300
commitffbd974deb426cdda39e1f0137a7fc4df681418d (patch)
treeeff68e4eca4e4a9e53fec9042e743176e89ad030 /src/client.cpp
parent96881273472a9ccbf8b43391d6ffe8e8df1bfb87 (diff)
downloadmv-ffbd974deb426cdda39e1f0137a7fc4df681418d.tar.gz
mv-ffbd974deb426cdda39e1f0137a7fc4df681418d.tar.bz2
mv-ffbd974deb426cdda39e1f0137a7fc4df681418d.tar.xz
mv-ffbd974deb426cdda39e1f0137a7fc4df681418d.zip
Fix joystick after reconnecting to server.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 8e3babf2e..62f8ae504 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -709,6 +709,9 @@ Client::~Client()
delete userPalette;
userPalette = nullptr;
+ delete joystick;
+ joystick = nullptr;
+
logger->log1("Quitting10");
config.write();