summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-15 19:53:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-15 19:53:28 +0300
commit7333084ce4c1d0fbaaef265d1400ef9552f856bd (patch)
treeb8327e92fb62818eb8717ab2883a641643363bb7
parent1fe641c6a8e5a9186645e7b776a31337064f77d8 (diff)
downloadmanaverse-7333084ce4c1d0fbaaef265d1400ef9552f856bd.tar.gz
manaverse-7333084ce4c1d0fbaaef265d1400ef9552f856bd.tar.bz2
manaverse-7333084ce4c1d0fbaaef265d1400ef9552f856bd.tar.xz
manaverse-7333084ce4c1d0fbaaef265d1400ef9552f856bd.zip
Add some missing costs.
-rw-r--r--src/gui/popups/beingpopup.cpp2
-rw-r--r--src/net/eathena/beingrecv.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp
index 396f323a7..3809ed4d2 100644
--- a/src/gui/popups/beingpopup.cpp
+++ b/src/gui/popups/beingpopup.cpp
@@ -275,7 +275,7 @@ void BeingPopup::show(const int x, const int y, Being *const b)
int height = height1;
FOR_EACH (std::vector<Label*>::iterator, it, mLabels)
{
- Label *const label = *it;
+ const Label *const label = *it;
if (label)
{
if (label->getWidth() > minWidth)
diff --git a/src/net/eathena/beingrecv.cpp b/src/net/eathena/beingrecv.cpp
index aac0dd914..3a1bcfb06 100644
--- a/src/net/eathena/beingrecv.cpp
+++ b/src/net/eathena/beingrecv.cpp
@@ -971,7 +971,7 @@ void BeingRecv::processBeingStatusChange(Net::MessageIn &msg)
msg.readInt32("val3");
}
- IsStart start = msg.getVersion() == 20090121 ?
+ const IsStart start = msg.getVersion() == 20090121 ?
IsStart_false : IsStart_true;
Being *const dstBeing = actorManager->findBeing(id);