diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-02-08 00:49:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-02-08 00:49:41 +0300 |
commit | ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9 (patch) | |
tree | 51a99a43eba0b09ca9e5f554b3676d0308685797 /src/net/ea | |
parent | 538261b13990ee02bbc62d9704233885b15cee04 (diff) | |
download | plus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.gz plus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.bz2 plus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.tar.xz plus-ff5e17ff14a78af31d9d23cd1dfdb5404f9a8fa9.zip |
Fix code style with new tool.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/beinghandler.cpp | 6 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.cpp | 1 | ||||
-rw-r--r-- | src/net/ea/inventoryhandler.cpp | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/net/ea/beinghandler.cpp b/src/net/ea/beinghandler.cpp index 84bd03bb1..d9e7e7506 100644 --- a/src/net/ea/beinghandler.cpp +++ b/src/net/ea/beinghandler.cpp @@ -511,6 +511,12 @@ void BeingHandler::processBeingAction(Net::MessageIn &msg) } break; + case 0x01: // dead + break; + // tmw server can send here garbage? +// if (srcBeing) +// srcBeing->setAction(Being::DEAD); + case 0x02: // Sit if (srcBeing) { diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index cf62af459..d5e344ac2 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -242,4 +242,3 @@ void PartyTab::saveToLogFile(std::string &msg) } } // namespace Ea - diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp index 4c4fb760c..d870eff38 100644 --- a/src/net/ea/inventoryhandler.cpp +++ b/src/net/ea/inventoryhandler.cpp @@ -330,7 +330,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg) { Item *item = inventory->getItem(index); - if (item && item->getId() == itemId) + if (item && item->getId() == itemId) amount += item->getQuantity(); if (serverVersion < 1 && identified > 1) |