aboutsummaryrefslogtreecommitdiff
path: root/src/cObjectHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cObjectHandler.cpp')
-rw-r--r--src/cObjectHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cObjectHandler.cpp b/src/cObjectHandler.cpp
index 3b69cfb..da0dcc9 100644
--- a/src/cObjectHandler.cpp
+++ b/src/cObjectHandler.cpp
@@ -163,7 +163,7 @@ void cObjectHandler::buildHitmap()
iHitMap.push_back(cp);
}
- while (size.x <= (int)iHitMap.size())
+ while (size.x < (int)iHitMap.size())
{
iHitMap.pop_back();
}