diff options
Diffstat (limited to 'src/net/eathena/playerrecv.cpp')
-rw-r--r-- | src/net/eathena/playerrecv.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/playerrecv.cpp b/src/net/eathena/playerrecv.cpp index e9dbeb74d..2f3f6294c 100644 --- a/src/net/eathena/playerrecv.cpp +++ b/src/net/eathena/playerrecv.cpp @@ -41,7 +41,7 @@ #include "net/messagein.h" -#include "net/ea/eaprotocol.h" +#include "net/eathena/sp.h" #include "debug.h" @@ -234,7 +234,7 @@ void PlayerRecv::processPlayerHeal(Net::MessageIn &msg) const int type = msg.readInt16("var id"); const int amount = msg.readInt16("value"); - if (type == Ea::HP) + if (type == Sp::HP) { const int base = PlayerInfo::getAttribute(Attributes::HP) + amount; PlayerInfo::setAttribute(Attributes::HP, base); @@ -250,7 +250,7 @@ void PlayerRecv::processPlayerHeal(Net::MessageIn &msg) } localPlayer->addHpMessage(amount); } - else if (type == Ea::MP) + else if (type == Sp::MP) { localPlayer->addSpMessage(amount); } |