diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-07 12:28:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-07 12:28:38 +0300 |
commit | a7258e25d06f90b10dee8281a65d239c89e5094c (patch) | |
tree | ec7ff20bb141da153453493f03fea3744537b19f /src/being | |
parent | 7bbd2004db69dcf456a606a350d315e2fefa7d4f (diff) | |
download | plus-a7258e25d06f90b10dee8281a65d239c89e5094c.tar.gz plus-a7258e25d06f90b10dee8281a65d239c89e5094c.tar.bz2 plus-a7258e25d06f90b10dee8281a65d239c89e5094c.tar.xz plus-a7258e25d06f90b10dee8281a65d239c89e5094c.zip |
fix emote command in crazy moves A.
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 ++; |