summaryrefslogtreecommitdiff
path: root/src/being
diff options
context:
space:
mode:
Diffstat (limited to 'src/being')
-rw-r--r--src/being/being.cpp4
-rw-r--r--src/being/being.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 7758abd4d..7271a06c2 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2223,7 +2223,7 @@ bool Being::draw(Graphics *const graphics,
}
void Being::drawSprites(Graphics *const graphics,
- const int posX, const int posY) const
+ int posX, int posY) const
{
const int sz = getNumberOfLayers();
for (int f = 0; f < sz; f ++)
@@ -2242,7 +2242,7 @@ void Being::drawSprites(Graphics *const graphics,
}
void Being::drawSpritesSDL(Graphics *const graphics,
- const int posX, const int posY) const
+ int posX, int posY) const
{
const size_t sz = size();
for (unsigned f = 0; f < sz; f ++)
diff --git a/src/being/being.h b/src/being/being.h
index c2d9dfc00..6e9d55768 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -888,7 +888,7 @@ class Being : public ActorSprite, public ConfigListener
static uint8_t genderToInt(const Gender sex) A_WARN_UNUSED;
- static Gender intToGender(uint8_t sex) A_WARN_UNUSED;
+ static Gender intToGender(const uint8_t sex) A_WARN_UNUSED;
NextSoundInfo mNextSound;