aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/script_v80he.cpp
diff options
context:
space:
mode:
authorMax Horn2008-09-25 08:19:51 +0000
committerMax Horn2008-09-25 08:19:51 +0000
commitc41480bfd4cc992bf50a8fc4ae3ce3cbabffe02a (patch)
treec29fa2bf21fa6fb5fc8770bed5202cb6a578e825 /engines/scumm/he/script_v80he.cpp
parent8d16a42c932c3dc147ce1b1ec801ac8293fb360e (diff)
downloadscummvm-rg350-c41480bfd4cc992bf50a8fc4ae3ce3cbabffe02a.tar.gz
scummvm-rg350-c41480bfd4cc992bf50a8fc4ae3ce3cbabffe02a.tar.bz2
scummvm-rg350-c41480bfd4cc992bf50a8fc4ae3ce3cbabffe02a.zip
SCUMM: Moved Actor::drawActorToBackBuf to class ActorHE
svn-id: r34647
Diffstat (limited to 'engines/scumm/he/script_v80he.cpp')
-rw-r--r--engines/scumm/he/script_v80he.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/scumm/he/script_v80he.cpp b/engines/scumm/he/script_v80he.cpp
index 39ec715d94..46449d1683 100644
--- a/engines/scumm/he/script_v80he.cpp
+++ b/engines/scumm/he/script_v80he.cpp
@@ -23,8 +23,6 @@
*
*/
-
-
#include "common/config-file.h"
#include "common/config-manager.h"
#include "common/savefile.h"
@@ -646,7 +644,7 @@ void ScummEngine_v80he::drawLine(int x1, int y1, int x, int y, int step, int typ
if (type == 2) {
- Actor *a = derefActor(id, "drawLine");
+ ActorHE *a = (ActorHE *)derefActor(id, "drawLine");
a->drawActorToBackBuf(x, y);
} else if (type == 3) {
WizImage wi;
@@ -697,7 +695,7 @@ void ScummEngine_v80he::drawLine(int x1, int y1, int x, int y, int step, int typ
continue;
if (type == 2) {
- Actor *a = derefActor(id, "drawLine");
+ ActorHE *a = (ActorHE *)derefActor(id, "drawLine");
a->drawActorToBackBuf(x, y);
} else if (type == 3) {
WizImage wi;