aboutsummaryrefslogtreecommitdiff
path: root/script_v2.cpp
diff options
context:
space:
mode:
authorJames Brown2002-03-05 16:13:09 +0000
committerJames Brown2002-03-05 16:13:09 +0000
commita2a497a46f2389096c2009a8dfa1676c889a42be (patch)
tree2b7c41f93c8e3438bb8bcca5571ca83b44c27c7f /script_v2.cpp
parent441ad35080de4172e4262e653bd3929c35875574 (diff)
downloadscummvm-rg350-a2a497a46f2389096c2009a8dfa1676c889a42be.tar.gz
scummvm-rg350-a2a497a46f2389096c2009a8dfa1676c889a42be.tar.bz2
scummvm-rg350-a2a497a46f2389096c2009a8dfa1676c889a42be.zip
Fixed the actor crash bug properly. NOTE: This -will- break ALL saved games
made with previous versions. svn-id: r3648
Diffstat (limited to 'script_v2.cpp')
-rw-r--r--script_v2.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/script_v2.cpp b/script_v2.cpp
index 3c20d0c069..e4f3cec9f7 100644
--- a/script_v2.cpp
+++ b/script_v2.cpp
@@ -1762,6 +1762,7 @@ void Scumm::o6_actorSet() {
}
a = derefActorSafe(_curActor, "o6_actorSet");
+ if (!a) return;
switch(b) {
case 76: /* actor-costume */