diff options
author | Torbjörn Andersson | 2003-08-12 16:43:43 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-08-12 16:43:43 +0000 |
commit | 50527702134133f69d35008467cbd62e3371f857 (patch) | |
tree | 33223ec2a433a60c4fa6f6fd598b0ecd42d2cbe4 /sword2/controls.h | |
parent | b198fbc3bb09080b10e45d97995de1a84bebf301 (diff) | |
download | scummvm-rg350-50527702134133f69d35008467cbd62e3371f857.tar.gz scummvm-rg350-50527702134133f69d35008467cbd62e3371f857.tar.bz2 scummvm-rg350-50527702134133f69d35008467cbd62e3371f857.zip |
Allowed derefActor() and derefActorSafe() to treat actor 0 as a valid actor
since the original interpreters appear to have allowed it. This fixes bug
#786380 ("FOA - FISTS, script crash in Crete").
I do not know what the purpose of actor 0 was in the original. Either it's
a no-op, or it's used to store actor default values.
Note that in the FOA case the room-33-200 script will loop - at least with
the provided savegame - until you leave the room. However, this is quite
harmless.
svn-id: r9650
Diffstat (limited to 'sword2/controls.h')
0 files changed, 0 insertions, 0 deletions