summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/localplayer.cpp3
-rw-r--r--src/being/localplayer.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp
index 3813f5121..feb6c590a 100644
--- a/src/being/localplayer.cpp
+++ b/src/being/localplayer.cpp
@@ -3370,7 +3370,8 @@ void LocalPlayer::imitateDirection(const Being *const being,
}
}
-void LocalPlayer::imitateOutfit(Being *const player, const int sprite) const
+void LocalPlayer::imitateOutfit(const Being *const player,
+ const int sprite) const
{
if (!player)
return;
diff --git a/src/being/localplayer.h b/src/being/localplayer.h
index 5e8e0e8fe..a0ff28dc2 100644
--- a/src/being/localplayer.h
+++ b/src/being/localplayer.h
@@ -349,7 +349,8 @@ class LocalPlayer final : public Being,
void imitateDirection(const Being *const being,
const unsigned char dir);
- void imitateOutfit(Being *const player, const int sprite = -1) const;
+ void imitateOutfit(const Being *const player,
+ const int sprite = -1) const;
void followMoveTo(const Being *const being, const int x, const int y);