From 4df121e6dcdf53436f50ce81dd60096ce0138a2c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 1 Sep 2012 20:49:03 +0300 Subject: Add const to more classes. --- src/animatedsprite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/animatedsprite.cpp') diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp index 341212b27..2446e19dc 100644 --- a/src/animatedsprite.cpp +++ b/src/animatedsprite.cpp @@ -277,7 +277,7 @@ bool AnimatedSprite::draw(Graphics *graphics, int posX, int posY) const posY + mFrame->offsetY); } -bool AnimatedSprite::setSpriteDirection(SpriteDirection direction) +bool AnimatedSprite::setSpriteDirection(const SpriteDirection direction) { if (mDirection != direction) { -- cgit v1.2.3-70-g09d2