summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBjörn Steinbrink <B.Steinbrink@gmx.de>2006-09-07 20:23:21 +0000
committerBjörn Steinbrink <B.Steinbrink@gmx.de>2006-09-07 20:23:21 +0000
commit2b99e70a462ce87d643c19a0c48c812ad6c98d67 (patch)
treee7dc561711487673b9ec37bf1e9bd92870532168 /src
parentad98a108157ee171da5fac9f3af5cfd00501ff05 (diff)
downloadmana-2b99e70a462ce87d643c19a0c48c812ad6c98d67.tar.gz
mana-2b99e70a462ce87d643c19a0c48c812ad6c98d67.tar.bz2
mana-2b99e70a462ce87d643c19a0c48c812ad6c98d67.tar.xz
mana-2b99e70a462ce87d643c19a0c48c812ad6c98d67.zip
Fixed a typo.
Diffstat (limited to 'src')
-rw-r--r--src/resources/image.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/image.cpp b/src/resources/image.cpp
index 6a7c79df..eb3a2409 100644
--- a/src/resources/image.cpp
+++ b/src/resources/image.cpp
@@ -260,7 +260,7 @@ void Image::unload()
{
mLoaded = false;
- if (!mImage) {
+ if (mImage) {
// Free the image surface.
SDL_FreeSurface(mImage);
mImage = NULL;