summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-26 19:20:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-26 20:51:46 +0300
commit25dff985b6415335536a2df2e901098ebc3369e3 (patch)
tree9f7a80f2390bfd9056ae8276bb95658103572c52
parent49099b799bfdf74393b70530d81942c414bed4a1 (diff)
downloadmv-25dff985b6415335536a2df2e901098ebc3369e3.tar.gz
mv-25dff985b6415335536a2df2e901098ebc3369e3.tar.bz2
mv-25dff985b6415335536a2df2e901098ebc3369e3.tar.xz
mv-25dff985b6415335536a2df2e901098ebc3369e3.zip
eathena: fix some packets naming.
-rw-r--r--src/net/eathena/beinghandler.cpp20
-rw-r--r--src/net/eathena/protocol.h10
2 files changed, 15 insertions, 15 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index f76f3d7c5..747df5d9d 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -118,11 +118,11 @@ BeingHandler::BeingHandler(const bool enableSync) :
SMSG_BEING_ATTRS,
SMSG_MONSTER_INFO,
SMSG_CLASS_CHANGE,
- CMSG_SPIRIT_BALLS,
- CMSG_SPIRIT_BALL_SINGLE,
- CMSG_BLADE_STOP,
- CMSG_COMBO_DELAY,
- CMSG_WEDDING_EFFECT,
+ SMSG_SPIRIT_BALLS,
+ SMSG_SPIRIT_BALL_SINGLE,
+ SMSG_BLADE_STOP,
+ SMSG_COMBO_DELAY,
+ SMSG_WEDDING_EFFECT,
SMSG_BEING_SLIDE,
SMSG_STARS_KILL,
SMSG_BLACKSMITH_RANKS_LIST,
@@ -339,23 +339,23 @@ void BeingHandler::handleMessage(Net::MessageIn &msg)
processClassChange(msg);
break;
- case CMSG_SPIRIT_BALLS:
+ case SMSG_SPIRIT_BALLS:
processSpiritBalls(msg);
break;
- case CMSG_SPIRIT_BALL_SINGLE:
+ case SMSG_SPIRIT_BALL_SINGLE:
processSpiritBallSingle(msg);
break;
- case CMSG_BLADE_STOP:
+ case SMSG_BLADE_STOP:
processBladeStop(msg);
break;
- case CMSG_COMBO_DELAY:
+ case SMSG_COMBO_DELAY:
processComboDelay(msg);
break;
- case CMSG_WEDDING_EFFECT:
+ case SMSG_WEDDING_EFFECT:
processWddingEffect(msg);
break;
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 7ec70ff83..c55afa3ac 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -640,11 +640,11 @@
#define CMSG_DORI_DORI 0x01e7
#define CMSG_EXPLOSION_SPIRITS 0x01ed
-#define CMSG_SPIRIT_BALLS 0x01d0
-#define CMSG_SPIRIT_BALL_SINGLE 0x01e1
-#define CMSG_BLADE_STOP 0x01d1
-#define CMSG_COMBO_DELAY 0x01d2
-#define CMSG_WEDDING_EFFECT 0x01ea
+#define SMSG_SPIRIT_BALLS 0x01d0
+#define SMSG_SPIRIT_BALL_SINGLE 0x01e1
+#define SMSG_BLADE_STOP 0x01d1
+#define SMSG_COMBO_DELAY 0x01d2
+#define SMSG_WEDDING_EFFECT 0x01ea
#define CMSG_PVP_INFO 0x020f
#define CMSG_PLAYER_AUTO_REVIVE 0x0292
#define CMSG_QUEST_ACTIVATE 0x02b6