diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-04 03:55:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-04 03:55:27 +0300 |
commit | 8532b189d874c719f8bda0fcf8d2e427cb2b2863 (patch) | |
tree | fc350b64457fb482710d8981ff0fe710c8994ad1 /src/net/eathena | |
parent | 819681f76bdabe1f4fc379007956d8118aa39228 (diff) | |
download | mv-8532b189d874c719f8bda0fcf8d2e427cb2b2863.tar.gz mv-8532b189d874c719f8bda0fcf8d2e427cb2b2863.tar.bz2 mv-8532b189d874c719f8bda0fcf8d2e427cb2b2863.tar.xz mv-8532b189d874c719f8bda0fcf8d2e427cb2b2863.zip |
Fix code style.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/buysellrecv.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/cashshoprecv.cpp | 2 | ||||
-rw-r--r-- | src/net/eathena/marketrecv.cpp | 2 |
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 |