summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-17 20:06:57 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-17 21:17:11 +0300
commit5b5257728500b358300f6e8824927c29d6b09618 (patch)
tree9ab5411177711dd344e9f5829e48cd975b2c223b /src
parente978599ccdfd3fcb073a4614056557f284b8d11b (diff)
downloadmanaplus-5b5257728500b358300f6e8824927c29d6b09618.tar.gz
manaplus-5b5257728500b358300f6e8824927c29d6b09618.tar.bz2
manaplus-5b5257728500b358300f6e8824927c29d6b09618.tar.xz
manaplus-5b5257728500b358300f6e8824927c29d6b09618.zip
fix const in being class.
Diffstat (limited to 'src')
-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;