diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-17 20:06:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-17 21:17:11 +0300 |
commit | 5b5257728500b358300f6e8824927c29d6b09618 (patch) | |
tree | 9ab5411177711dd344e9f5829e48cd975b2c223b /src/being/being.cpp | |
parent | e978599ccdfd3fcb073a4614056557f284b8d11b (diff) | |
download | manaplus-5b5257728500b358300f6e8824927c29d6b09618.tar.gz manaplus-5b5257728500b358300f6e8824927c29d6b09618.tar.bz2 manaplus-5b5257728500b358300f6e8824927c29d6b09618.tar.xz manaplus-5b5257728500b358300f6e8824927c29d6b09618.zip |
fix const in being class.
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 4 |
1 files changed, 2 insertions, 2 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 ++) |