summaryrefslogtreecommitdiff
path: root/src/gui/widgets/tabs/socialnavigationtab.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-19 06:55:28 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-19 06:55:28 +0300
commit98c74738f21d7ae256f1273b6c1614ee64e2a3ad (patch)
tree95a1af0071c774021c781611d215fee84358a807 /src/gui/widgets/tabs/socialnavigationtab.h
parenta0b050fd82177f38b8bbf3360159d57886e2a347 (diff)
downloadmanaplus-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.tar.gz
manaplus-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.tar.bz2
manaplus-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.tar.xz
manaplus-98c74738f21d7ae256f1273b6c1614ee64e2a3ad.zip
Fix code style.
Diffstat (limited to 'src/gui/widgets/tabs/socialnavigationtab.h')
-rw-r--r--src/gui/widgets/tabs/socialnavigationtab.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/socialnavigationtab.h b/src/gui/widgets/tabs/socialnavigationtab.h
index a3eb8f8b2..f58bc4200 100644
--- a/src/gui/widgets/tabs/socialnavigationtab.h
+++ b/src/gui/widgets/tabs/socialnavigationtab.h
@@ -175,7 +175,7 @@ class SocialNavigationTab final : public SocialTab
return;
const Avatar *const ava = avatars->at(num);
- if ((ava != nullptr) && (localPlayer != nullptr))
+ if (ava != nullptr)
localPlayer->navigateTo(ava->getX(), ava->getY());
}