summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-04 03:55:27 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-04 03:55:27 +0300
commit8532b189d874c719f8bda0fcf8d2e427cb2b2863 (patch)
treefc350b64457fb482710d8981ff0fe710c8994ad1 /src/net/eathena
parent819681f76bdabe1f4fc379007956d8118aa39228 (diff)
downloadmanaverse-8532b189d874c719f8bda0fcf8d2e427cb2b2863.tar.gz
manaverse-8532b189d874c719f8bda0fcf8d2e427cb2b2863.tar.bz2
manaverse-8532b189d874c719f8bda0fcf8d2e427cb2b2863.tar.xz
manaverse-8532b189d874c719f8bda0fcf8d2e427cb2b2863.zip
Fix code style.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/buysellrecv.cpp2
-rw-r--r--src/net/eathena/cashshoprecv.cpp2
-rw-r--r--src/net/eathena/marketrecv.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/net/eathena/buysellrecv.cpp b/src/net/eathena/buysellrecv.cpp
index 2984eac97..4b111dee9 100644
--- a/src/net/eathena/buysellrecv.cpp
+++ b/src/net/eathena/buysellrecv.cpp
@@ -60,7 +60,7 @@ void BuySellRecv::processNpcBuy(Net::MessageIn &msg)
if (npcId != BeingTypeId_zero)
{
- const BeingInfo *info = NPCDB::get(npcId);
+ const BeingInfo *const info = NPCDB::get(npcId);
if (info)
currency = info->getCurrency();
else
diff --git a/src/net/eathena/cashshoprecv.cpp b/src/net/eathena/cashshoprecv.cpp
index 01c727913..deafbec28 100644
--- a/src/net/eathena/cashshoprecv.cpp
+++ b/src/net/eathena/cashshoprecv.cpp
@@ -63,7 +63,7 @@ void CashShopRecv::processCashShopOpen(Net::MessageIn &msg)
if (npcId != BeingTypeId_zero)
{
- const BeingInfo *info = NPCDB::get(npcId);
+ const BeingInfo *const info = NPCDB::get(npcId);
if (info)
currency = info->getCurrency();
else
diff --git a/src/net/eathena/marketrecv.cpp b/src/net/eathena/marketrecv.cpp
index 82775acff..cfe7aa4c8 100644
--- a/src/net/eathena/marketrecv.cpp
+++ b/src/net/eathena/marketrecv.cpp
@@ -60,7 +60,7 @@ void MarketRecv::processMarketOpen(Net::MessageIn &msg)
if (npcId != BeingTypeId_zero)
{
- const BeingInfo *info = NPCDB::get(npcId);
+ const BeingInfo *const info = NPCDB::get(npcId);
if (info)
currency = info->getCurrency();
else