aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/map.cpp')
-rw-r--r--engines/hdb/map.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/hdb/map.cpp b/engines/hdb/map.cpp
index 195b673e31..a17b0db1f1 100644
--- a/engines/hdb/map.cpp
+++ b/engines/hdb/map.cpp
@@ -1169,7 +1169,7 @@ bool Map::checkXYOnScreen(int x, int y) {
}
bool Map::checkOneTileExistInRange(int tileIndex, int count) {
- for (int i = 0; i < _width*_height; i++) {
+ for (int i = 0; i < _width * _height; i++) {
if (_background[i] >= tileIndex && _background[i] < tileIndex + count)
return true;
if (_foreground[i] >= tileIndex && _foreground[i] < tileIndex + count)