diff options
author | Max Horn | 2008-09-25 08:19:51 +0000 |
---|---|---|
committer | Max Horn | 2008-09-25 08:19:51 +0000 |
commit | c41480bfd4cc992bf50a8fc4ae3ce3cbabffe02a (patch) | |
tree | c29fa2bf21fa6fb5fc8770bed5202cb6a578e825 /engines/scumm/he/script_v80he.cpp | |
parent | 8d16a42c932c3dc147ce1b1ec801ac8293fb360e (diff) | |
download | scummvm-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.cpp | 6 |
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; |