summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-10 21:48:36 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2008-04-10 21:48:36 +0000
commit45c1cec1cb32c959a09b1cbc8729b06aa22e1ee5 (patch)
tree56a6f174744baff6357384703b8cfeffc8ecd683 /src/being.cpp
parentc67fa724ddbdc4ef3a98920d7b92816ecd6fc2be (diff)
downloadmana-45c1cec1cb32c959a09b1cbc8729b06aa22e1ee5.tar.gz
mana-45c1cec1cb32c959a09b1cbc8729b06aa22e1ee5.tar.bz2
mana-45c1cec1cb32c959a09b1cbc8729b06aa22e1ee5.tar.xz
mana-45c1cec1cb32c959a09b1cbc8729b06aa22e1ee5.zip
Fixed compile warning.
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 31e3eb77..c262602d 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -422,7 +422,7 @@ Being::drawEmotion(Graphics *graphics, int offsetX, int offsetY)
const int py = mPy + offsetY - 60;
const int emotionIndex = mEmotion - 1;
- if (emotionIndex >= 0 && emotionIndex < emotionSet->size())
+ if (emotionIndex >= 0 && emotionIndex < (int) emotionSet->size())
graphics->drawImage(emotionSet->get(emotionIndex), px, py);
}