From b8b4e4c524331b4deb0a6caa8da004430297c98a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 14 Aug 2017 16:40:47 +0300 Subject: Replace static members usage from pointers to direct classes. clang-tidy warning: readability-static-accessed-through-instance --- src/being/crazymoves.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/being/crazymoves.cpp') diff --git a/src/being/crazymoves.cpp b/src/being/crazymoves.cpp index 463dfd1eb..5fb093d9d 100644 --- a/src/being/crazymoves.cpp +++ b/src/being/crazymoves.cpp @@ -757,7 +757,7 @@ void CrazyMoves::crazyMoveAe() const emoteId = CAST_U8(emo - 'A' + 37); } if (mMoveProgram[settings.crazyMoveState - 1] == 'e') - localPlayer->emote(emoteId); + LocalPlayer::emote(emoteId); else if (PacketLimiter::limitPackets(PacketType::PACKET_CHAT)) petHandler->emote(emoteId); -- cgit v1.2.3-70-g09d2