From 343debba1e3a097fbe47edad1ae4deb3a1a252e0 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 1 May 2005 01:30:19 +0000 Subject: Use correct safety check. svn-id: r17878 --- scumm/script_v80he.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scumm/script_v80he.cpp') diff --git a/scumm/script_v80he.cpp b/scumm/script_v80he.cpp index 1385419222..e949a7172e 100644 --- a/scumm/script_v80he.cpp +++ b/scumm/script_v80he.cpp @@ -638,7 +638,7 @@ void ScummEngine_v80he::unknownE0(int x1, int y1, int x, int unk1, int unk2, int } if (type == 2) { - Actor *a = derefActorSafe(id, "unknownE0"); + Actor *a = derefActor(id, "unknownE0"); a->drawActorToBackBuf(x1, y1); } else if (type == 3) { WizImage wi; @@ -701,7 +701,7 @@ void ScummEngine_v80he::unknownE0(int x1, int y1, int x, int unk1, int unk2, int continue; if (type == 2) { - Actor *a = derefActorSafe(id, "unknownE0"); + Actor *a = derefActor(id, "unknownE0"); a->drawActorToBackBuf(x, y); } else if (type == 3) { WizImage wi; -- cgit v1.2.3