summaryrefslogtreecommitdiff
path: root/src/net/eathena/inventoryrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-03-05 04:32:12 +0300
committerAndrei Karas <akaras@inbox.ru>2019-03-05 04:32:12 +0300
commit9253bd60eedaa7c027e35fcde7c0c14d00bfb0d7 (patch)
tree4397c5b7da9ed6294778fd7432996dd70eaff339 /src/net/eathena/inventoryrecv.cpp
parentf28382b61b02a2d13c7d3f5b63c9e699fc549d22 (diff)
downloadManaVerse-9253bd60eedaa7c027e35fcde7c0c14d00bfb0d7.tar.gz
ManaVerse-9253bd60eedaa7c027e35fcde7c0c14d00bfb0d7.tar.bz2
ManaVerse-9253bd60eedaa7c027e35fcde7c0c14d00bfb0d7.tar.xz
ManaVerse-9253bd60eedaa7c027e35fcde7c0c14d00bfb0d7.zip
Fix code style
Diffstat (limited to 'src/net/eathena/inventoryrecv.cpp')
-rw-r--r--src/net/eathena/inventoryrecv.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp
index bb2a129b3..eaeb72109 100644
--- a/src/net/eathena/inventoryrecv.cpp
+++ b/src/net/eathena/inventoryrecv.cpp
@@ -1711,7 +1711,7 @@ void InventoryRecv::processInventoryContinue(Net::MessageIn &msg,
items = &Ea::InventoryRecv::mStorageItems;
break;
default:
- reportAlways("Unknown inventory type %d", CAST_S32(invType));
+ reportAlways("Unknown inventory type %d", CAST_S32(invType))
return;
}
@@ -1800,7 +1800,7 @@ void InventoryRecv::processEquipmentContinue(Net::MessageIn &msg,
items = &Ea::InventoryRecv::mStorageItems;
break;
default:
- reportAlways("Unknown inventory type %d", CAST_S32(invType));
+ reportAlways("Unknown inventory type %d", CAST_S32(invType))
return;
}
@@ -1819,7 +1819,8 @@ void InventoryRecv::processEquipmentContinue(Net::MessageIn &msg,
msg.readInt32("hire expire date (?)");
msg.readInt16("equip type");
msg.readInt16("item sprite number");
- ItemOptionsList *options = new ItemOptionsList(msg.readUInt8("option count"));
+ ItemOptionsList *options = new ItemOptionsList(
+ msg.readUInt8("option count"));
for (int f = 0; f < 5; f ++)
{
const uint16_t idx = msg.readInt16("option index");