diff options
author | James Brown | 2002-03-05 15:29:54 +0000 |
---|---|---|
committer | James Brown | 2002-03-05 15:29:54 +0000 |
commit | d700f88c90b74f7b80fdeeb331362241778ffb35 (patch) | |
tree | f779ae8fabc87c1cc82a1ff0e8eda1451d1c3686 /script.cpp | |
parent | 9dec4275b6ca19a98a4cb86b32a0a7228d725826 (diff) | |
download | scummvm-rg350-d700f88c90b74f7b80fdeeb331362241778ffb35.tar.gz scummvm-rg350-d700f88c90b74f7b80fdeeb331362241778ffb35.tar.bz2 scummvm-rg350-d700f88c90b74f7b80fdeeb331362241778ffb35.zip |
A few more hacks to make Sam run faster - fixes the Gator Golf crash.
svn-id: r3646
Diffstat (limited to 'script.cpp')
-rw-r--r-- | script.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/script.cpp b/script.cpp index bfbcd7a21d..4ea32ece6e 100644 --- a/script.cpp +++ b/script.cpp @@ -834,6 +834,7 @@ void Scumm::animateActor(int act, int anim) { Actor *a; a = derefActorSafe(act, "animateActor"); + if (!a) return; dir = anim&3; |