summaryrefslogtreecommitdiff
path: root/src/animatedsprite.cpp
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2008-10-10 17:51:34 +0000
committerIra Rice <irarice@gmail.com>2008-10-10 17:51:34 +0000
commitaede5be60657a6a5d9aa6989a454cedde3230b75 (patch)
tree46decb61d1750dc02560e877c9327e9354694c47 /src/animatedsprite.cpp
parent7729faaadff2e6f92d24f43e52d085f4b11be315 (diff)
downloadmana-aede5be60657a6a5d9aa6989a454cedde3230b75.tar.gz
mana-aede5be60657a6a5d9aa6989a454cedde3230b75.tar.bz2
mana-aede5be60657a6a5d9aa6989a454cedde3230b75.tar.xz
mana-aede5be60657a6a5d9aa6989a454cedde3230b75.zip
Fixed a small code typo (thought I copied and compiled animatedsprite
before committing. Oh well)
Diffstat (limited to 'src/animatedsprite.cpp')
-rw-r--r--src/animatedsprite.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animatedsprite.cpp b/src/animatedsprite.cpp
index 34ea60f4..92c4e3f3 100644
--- a/src/animatedsprite.cpp
+++ b/src/animatedsprite.cpp
@@ -195,7 +195,7 @@ AnimatedSprite::setDirection(SpriteDirection direction)
int
AnimatedSprite::getWidth() const
{
- return mframe ? mFrame->image->getWidth() : 0;
+ return mFrame ? mFrame->image->getWidth() : 0;
}
int