summaryrefslogtreecommitdiff
path: root/src/being.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/being.cpp')
-rw-r--r--src/being.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index d32ffa59..442c08ef 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -603,7 +603,7 @@ int Being::getWidth() const
return mSprites[BASE_SPRITE]->getWidth();
}
else {
- return 0;
+ return Being::DEFAULT_WIDTH;
}
}
@@ -614,7 +614,7 @@ int Being::getHeight() const
return mSprites[BASE_SPRITE]->getHeight();
}
else {
- return 0;
+ return Being::DEFAULT_HEIGHT;
}
}