diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:57:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-29 23:57:33 +0300 |
commit | 41dfafa2ff6e878308c5edde056edfa944bf6f03 (patch) | |
tree | e570bebc6fcf7227ebd8787d19c5b3a1bbd17a9b /src/net | |
parent | 45379d14d9d3c7f4673b8390cb95d98bb1759f45 (diff) | |
download | mv-41dfafa2ff6e878308c5edde056edfa944bf6f03.tar.gz mv-41dfafa2ff6e878308c5edde056edfa944bf6f03.tar.bz2 mv-41dfafa2ff6e878308c5edde056edfa944bf6f03.tar.xz mv-41dfafa2ff6e878308c5edde056edfa944bf6f03.zip |
Convert Pickup enum into strong typed enum.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/inventoryhandler.cpp | 2 | ||||
-rw-r--r-- | src/net/tmwa/inventoryhandler.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/eathena/inventoryhandler.cpp b/src/net/eathena/inventoryhandler.cpp index 186bb5fc5..ed834c9e8 100644 --- a/src/net/eathena/inventoryhandler.cpp +++ b/src/net/eathena/inventoryhandler.cpp @@ -502,7 +502,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg) if (err) { - Pickup::Type pickup; + PickupT pickup; switch (err) { case 1: diff --git a/src/net/tmwa/inventoryhandler.cpp b/src/net/tmwa/inventoryhandler.cpp index d1b7014f3..7f81ac461 100644 --- a/src/net/tmwa/inventoryhandler.cpp +++ b/src/net/tmwa/inventoryhandler.cpp @@ -361,7 +361,7 @@ void InventoryHandler::processPlayerInventoryAdd(Net::MessageIn &msg) if (err) { - Pickup::Type pickup; + PickupT pickup; switch (err) { case 1: |