aboutsummaryrefslogtreecommitdiff
path: root/engines/gob/anifile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/gob/anifile.cpp')
-rw-r--r--engines/gob/anifile.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/gob/anifile.cpp b/engines/gob/anifile.cpp
index e6bf30f4d7..085ac800cd 100644
--- a/engines/gob/anifile.cpp
+++ b/engines/gob/anifile.cpp
@@ -289,4 +289,9 @@ void ANIFile::drawLayer(Surface &dest, uint16 layer, uint16 part,
_layers[layer]->draw(dest, part, x, y, transp);
}
+void ANIFile::recolor(uint8 from, uint8 to) {
+ for (LayerArray::iterator l = _layers.begin(); l != _layers.end(); ++l)
+ (*l)->recolor(from, to);
+}
+
} // End of namespace Gob