summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/inventoryrecv.cpp3
-rw-r--r--src/net/eathena/maphandler.cpp8
-rw-r--r--src/net/eathena/maphandler.h8
-rw-r--r--src/net/eathena/refinehandler.cpp2
-rw-r--r--src/net/eathena/refinehandler.h2
5 files changed, 12 insertions, 11 deletions
diff --git a/src/net/eathena/inventoryrecv.cpp b/src/net/eathena/inventoryrecv.cpp
index 636a289b4..7131ddb19 100644
--- a/src/net/eathena/inventoryrecv.cpp
+++ b/src/net/eathena/inventoryrecv.cpp
@@ -1602,7 +1602,8 @@ void InventoryRecv::processInventoryEnd2(Net::MessageIn &msg)
processInventoryEndContinue(invType);
}
-void InventoryRecv::processInventoryEndContinue(const NetInventoryTypeT invType)
+void InventoryRecv::processInventoryEndContinue(const NetInventoryTypeT
+ invType)
{
switch (invType)
{
diff --git a/src/net/eathena/maphandler.cpp b/src/net/eathena/maphandler.cpp
index 075a94a38..d7c6a8629 100644
--- a/src/net/eathena/maphandler.cpp
+++ b/src/net/eathena/maphandler.cpp
@@ -52,10 +52,10 @@ void MapHandler::destroyInstance() const
outMsg.writeInt32(3, "command");
}
-void MapHandler::camera(int action,
- float range,
- float rotation,
- float latitude) const
+void MapHandler::camera(const int action,
+ const float range,
+ const float rotation,
+ const float latitude) const
{
if (packetVersion < 20160525)
return;
diff --git a/src/net/eathena/maphandler.h b/src/net/eathena/maphandler.h
index 2895087e4..668e06df5 100644
--- a/src/net/eathena/maphandler.h
+++ b/src/net/eathena/maphandler.h
@@ -39,10 +39,10 @@ class MapHandler final : public Net::MapHandler
void destroyInstance() const override final;
- void camera(int action,
- float range,
- float rotation,
- float latitude) const override final;
+ void camera(const int action,
+ const float range,
+ const float rotation,
+ const float latitude) const override final;
void clientVersion(const int version) const override final;
};
diff --git a/src/net/eathena/refinehandler.cpp b/src/net/eathena/refinehandler.cpp
index 35f441600..b5f5aacf1 100644
--- a/src/net/eathena/refinehandler.cpp
+++ b/src/net/eathena/refinehandler.cpp
@@ -52,7 +52,7 @@ void RefineHandler::addItem(const Item *const item) const
void RefineHandler::refineItem(const Item *const item1,
const Item *const item2,
- int blessing) const
+ const int blessing) const
{
if (item1 == nullptr ||
item2 == nullptr)
diff --git a/src/net/eathena/refinehandler.h b/src/net/eathena/refinehandler.h
index 1f163f7e1..fb47dfa8e 100644
--- a/src/net/eathena/refinehandler.h
+++ b/src/net/eathena/refinehandler.h
@@ -38,7 +38,7 @@ class RefineHandler final : public Net::RefineHandler
void refineItem(const Item *const item1,
const Item *const item2,
- int blessing) const override final;
+ const int blessing) const override final;
void close() const override final;
};