aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad
diff options
context:
space:
mode:
authorEinar Johan Trøan Sømåen2012-08-31 19:38:24 +0200
committerEinar Johan Trøan Sømåen2012-08-31 20:00:40 +0200
commit8cf7d765c05bd13fc381e94801b2bbd8c27e1c07 (patch)
tree554f6adc2446b1ee8bfddfc8ece08b9b068167bf /engines/wintermute/ad
parent07c27b775c8d3997bf40891c2772ae8859eb534d (diff)
downloadscummvm-rg350-8cf7d765c05bd13fc381e94801b2bbd8c27e1c07.tar.gz
scummvm-rg350-8cf7d765c05bd13fc381e94801b2bbd8c27e1c07.tar.bz2
scummvm-rg350-8cf7d765c05bd13fc381e94801b2bbd8c27e1c07.zip
WINTERMUTE: General cleanup
Diffstat (limited to 'engines/wintermute/ad')
-rw-r--r--engines/wintermute/ad/ad_path.h2
-rw-r--r--engines/wintermute/ad/ad_scene.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/engines/wintermute/ad/ad_path.h b/engines/wintermute/ad/ad_path.h
index b85e1fce7a..de115b261a 100644
--- a/engines/wintermute/ad/ad_path.h
+++ b/engines/wintermute/ad/ad_path.h
@@ -46,7 +46,7 @@ public:
void reset();
AdPath(BaseGame *inGame);
virtual ~AdPath();
- BaseArray <BasePoint *> _points;
+ BaseArray<BasePoint *> _points;
int _currIndex;
bool _ready;
};
diff --git a/engines/wintermute/ad/ad_scene.cpp b/engines/wintermute/ad/ad_scene.cpp
index 176604b75f..5b96bc0c3a 100644
--- a/engines/wintermute/ad/ad_scene.cpp
+++ b/engines/wintermute/ad/ad_scene.cpp
@@ -267,7 +267,7 @@ void AdScene::pfAddWaypointGroup(AdWaypointGroup *wpt, BaseObject *requester) {
return;
}
- for (uint32 i = 0; i < wpt->_points.size(); i++) {
+ for (uint32 i = 0; i < wpt->_points.size(); i++) {
if (isBlockedAt(wpt->_points[i]->x, wpt->_points[i]->y, true, requester)) {
continue;
}