diff options
author | Fate <fate-tmw@googlemail.com> | 2009-04-12 21:30:59 +0000 |
---|---|---|
committer | Fate <fate-tmw@googlemail.com> | 2009-04-12 21:30:59 +0000 |
commit | e4c91de969d0c5fc62d19520a842c23920530f82 (patch) | |
tree | 85eaf0f1e4fc5b53b73489f65393770105c6e6b2 /src | |
parent | 2b2669029b43cc4c5b6f7dd82b4385d7338520bc (diff) | |
download | mana-e4c91de969d0c5fc62d19520a842c23920530f82.tar.gz mana-e4c91de969d0c5fc62d19520a842c23920530f82.tar.bz2 mana-e4c91de969d0c5fc62d19520a842c23920530f82.tar.xz mana-e4c91de969d0c5fc62d19520a842c23920530f82.zip |
Properly interpret `PC is dead' information from eAthena server
(cf. 5cf18a062ffca03196b83fe6fda8ea3e54079c57; apparently the change
was lost later)
Diffstat (limited to 'src')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 8ad15f76..2fe5bedc 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -511,6 +511,10 @@ void BeingHandler::handleMessage(MessageIn &msg) { switch (msg.readInt8()) { + case 1: + dstBeing->setAction(Being::DEAD); + break; + case 2: dstBeing->setAction(Being::SIT); break; |