aboutsummaryrefslogtreecommitdiff
path: root/engines/illusions/actor.cpp
diff options
context:
space:
mode:
authorjohndoe1232015-12-11 23:02:00 +0100
committerEugene Sandulenko2018-07-20 06:43:33 +0000
commit0589588b7bb117e5a6aa29f66b12507430a9054c (patch)
tree134718740b2fd2397e1cfa6775c9ef04bf45eea0 /engines/illusions/actor.cpp
parent6ca6fb605d96e0088f4883879e790515d40a4245 (diff)
downloadscummvm-rg350-0589588b7bb117e5a6aa29f66b12507430a9054c.tar.gz
scummvm-rg350-0589588b7bb117e5a6aa29f66b12507430a9054c.tar.bz2
scummvm-rg350-0589588b7bb117e5a6aa29f66b12507430a9054c.zip
ILLUSIONS: BBDOU: Implement credits code and adjust existing code
Diffstat (limited to 'engines/illusions/actor.cpp')
-rw-r--r--engines/illusions/actor.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/illusions/actor.cpp b/engines/illusions/actor.cpp
index a273b52373..591ad184dd 100644
--- a/engines/illusions/actor.cpp
+++ b/engines/illusions/actor.cpp
@@ -940,8 +940,7 @@ void Control::drawActorRect(const Common::Rect r, byte color) {
}
void Control::fillActor(byte color) {
- Common::Rect r = Common::Rect(_actor->_surface->w, _actor->_surface->h);
- _actor->_surface->fillRect(r, color);
+ _vm->_screen->fillSurface(_actor->_surface, color);
_actor->_flags |= 0x4000;
}