From 98c74738f21d7ae256f1273b6c1614ee64e2a3ad Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 19 Oct 2018 06:55:28 +0300 Subject: Fix code style. --- src/gui/widgets/tabs/socialnavigationtab.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/tabs/socialnavigationtab.h') 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()); } -- cgit v1.2.3-70-g09d2