summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);