diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-17 16:34:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-17 16:36:44 +0300 |
commit | 2a363e453a8ed7e1d19682d889c3a62e9e71a7d2 (patch) | |
tree | 737d85d70cd071de84a32270aaa2dbbc4a4d9707 /src/being/localplayer.cpp | |
parent | 977420e7831773a6bafaacfbfa277165451e7e43 (diff) | |
download | ManaVerse-2a363e453a8ed7e1d19682d889c3a62e9e71a7d2.tar.gz ManaVerse-2a363e453a8ed7e1d19682d889c3a62e9e71a7d2.tar.bz2 ManaVerse-2a363e453a8ed7e1d19682d889c3a62e9e71a7d2.tar.xz ManaVerse-2a363e453a8ed7e1d19682d889c3a62e9e71a7d2.zip |
dont call setMap from destructors.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index ee77c9831..b1f577197 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -206,6 +206,12 @@ LocalPlayer::~LocalPlayer() config.removeListeners(this); serverConfig.removeListener("enableBuggyServers", this); + navigateClean(); + mCrossX = 0; + mCrossY = 0; + + updateNavigateList(); + if (mAwayDialog) { soundManager.volumeRestore(); |