diff options
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/localplayer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index 3d9d06bef..889f2b906 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -2430,9 +2430,9 @@ void LocalPlayer::crazyMoveA() else if (emo >= 'A' && emo <= 'Z') emoteId = static_cast<unsigned char>(emo - 'A' + 37); } - if (mMoveProgram[mCrazyMoveState] == 'e') + if (mMoveProgram[mCrazyMoveState - 1] == 'e') emote(emoteId); - else + else if (client->limitPackets(PACKET_CHAT)) Net::getPetHandler()->emote(emoteId, 0); mCrazyMoveState ++; |