summaryrefslogtreecommitdiff
path: root/src/gui/popups/beingpopup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/popups/beingpopup.cpp')
-rw-r--r--src/gui/popups/beingpopup.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gui/popups/beingpopup.cpp b/src/gui/popups/beingpopup.cpp
index 7386ab055..d8d92f388 100644
--- a/src/gui/popups/beingpopup.cpp
+++ b/src/gui/popups/beingpopup.cpp
@@ -169,7 +169,7 @@ void BeingPopup::show(const int x, const int y, Being *const b)
const ActorTypeT type = b->getType();
if (type == ActorType::Pet)
{
- PetInfo *const info = PlayerInfo::getPet();
+ const PetInfo *const info = PlayerInfo::getPet();
if (info)
{
// TRANSLATORS: being popup label
@@ -190,7 +190,7 @@ void BeingPopup::show(const int x, const int y, Being *const b)
}
else if (type == ActorType::Homunculus)
{
- HomunculusInfo *const info = PlayerInfo::getHomunculus();
+ const HomunculusInfo *const info = PlayerInfo::getHomunculus();
if (info)
{
// TRANSLATORS: being popup label
@@ -321,8 +321,10 @@ void BeingPopup::show(const int x, const int y, Being *const b)
std::string effectsStr;
FOR_EACH (std::set<int>::const_iterator, it, effects)
{
- StatusEffect *const effect = StatusEffect::getStatusEffect(
- *it, Enable_true);
+ const StatusEffect *const effect =
+ StatusEffect::getStatusEffect(
+ *it,
+ Enable_true);
if (!effect)
continue;
if (!effectsStr.empty())