diff options
Diffstat (limited to 'engines/teenagent/surface_list.cpp')
-rw-r--r-- | engines/teenagent/surface_list.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/teenagent/surface_list.cpp b/engines/teenagent/surface_list.cpp index 7f7eb1dc38..31387ac3cb 100644 --- a/engines/teenagent/surface_list.cpp +++ b/engines/teenagent/surface_list.cpp @@ -61,8 +61,8 @@ void SurfaceList::free() { surfaces_n = 0; } -void SurfaceList::render(Graphics::Surface *surface, const Common::Rect & clip) const { - for(uint i = 0; i < surfaces_n; ++i) { +void SurfaceList::render(Graphics::Surface *surface, const Common::Rect &clip) const { + for (uint i = 0; i < surfaces_n; ++i) { const Surface &s = surfaces[i]; Common::Rect r(s.x, s.y, s.x + s.w, s.y + s.h); if (r.bottom < clip.bottom || !clip.intersects(r)) |