aboutsummaryrefslogtreecommitdiff
path: root/engines/hdb/ai-waypoint.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hdb/ai-waypoint.cpp')
-rw-r--r--engines/hdb/ai-waypoint.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hdb/ai-waypoint.cpp b/engines/hdb/ai-waypoint.cpp
index 976ba4baa8..70847aba8b 100644
--- a/engines/hdb/ai-waypoint.cpp
+++ b/engines/hdb/ai-waypoint.cpp
@@ -29,7 +29,7 @@ void AI::addWaypoint(int px, int py, int x, int y, int level) {
return;
// Check for duplicates
- for (int i = 0;i < _numWaypoints;i++)
+ for (int i = 0; i < _numWaypoints; i++)
if (_waypoints[i].x == x && _waypoints[i].y == y)
return;
@@ -56,7 +56,7 @@ void AI::removeFirstWaypoint() {
return;
int i;
- for (i = 0;i < _numWaypoints;i++) {
+ for (i = 0; i < _numWaypoints; i++) {
_waypoints[i] = _waypoints[i + 1];
}