diff options
Diffstat (limited to 'engines/mads/scene_data.cpp')
-rw-r--r-- | engines/mads/scene_data.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/mads/scene_data.cpp b/engines/mads/scene_data.cpp index 94bbb7b4c1..aa3670ee41 100644 --- a/engines/mads/scene_data.cpp +++ b/engines/mads/scene_data.cpp @@ -51,14 +51,14 @@ ScreenObjects::ScreenObjects(MADSEngine *vm): _vm(vm) { _released = false; } -void ScreenObjects::add(const Common::Rect &bounds, ScrCategory category, int descId) { +void ScreenObjects::add(const Common::Rect &bounds, Layer layer, ScrCategory category, int descId) { assert(size() < 100); ScreenObject so; so._bounds = bounds; so._category = category; so._descId = descId; - so._layer = 0x1413; + so._layer = layer; push_back(so); } @@ -119,7 +119,7 @@ void ScreenObjects::check(bool scanFlag) { scene._action.refresh(); // Loop through image inter list - warning("TODO: iimageInterList loop"); + warning("TODO: imageInterList loop"); } int ScreenObjects::scanBackwards(const Common::Point &pt, int layer) { |