diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-08-15 22:16:47 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-08-15 22:16:47 -0600 |
commit | 7e2673a3b9460fdcd646e23c3bd9039de854565f (patch) | |
tree | 87beef69b68988ccf52218263c0e801eb399ace7 /src/localplayer.cpp | |
parent | 3a114a6ba32b828f99915d3fab48f303d98643d6 (diff) | |
download | mana-7e2673a3b9460fdcd646e23c3bd9039de854565f.tar.gz mana-7e2673a3b9460fdcd646e23c3bd9039de854565f.tar.bz2 mana-7e2673a3b9460fdcd646e23c3bd9039de854565f.tar.xz mana-7e2673a3b9460fdcd646e23c3bd9039de854565f.zip |
Fix changing setting for own name visibility
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 8fbfe70a..319d9da7 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -133,6 +133,8 @@ LocalPlayer::~LocalPlayer() delete mStorage; #endif + config.removeListener("showownname", this); + for (int i = Being::TC_SMALL; i < Being::NUM_TC; i++) { delete mTargetCursor[0][i]; |