diff options
Diffstat (limited to 'src/net')
-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 |