summaryrefslogtreecommitdiff
path: root/src/net/eathena/buysellrecv.cpp
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/buysellrecv.cpp
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/buysellrecv.cpp')
-rw-r--r--src/net/eathena/buysellrecv.cpp2
1 files changed, 1 insertions, 1 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