diff options
author | James Brown | 2002-08-20 09:58:35 +0000 |
---|---|---|
committer | James Brown | 2002-08-20 09:58:35 +0000 |
commit | ca4789c2ffff32213aaf90f656524f44f83d5830 (patch) | |
tree | a752532146bea5e2d8d1a319801e3b09c5a0e782 /script_v1.cpp | |
parent | f3ceaf7f81246a3ddc5e09b2710d2627a3a412ba (diff) | |
download | scummvm-rg350-ca4789c2ffff32213aaf90f656524f44f83d5830.tar.gz scummvm-rg350-ca4789c2ffff32213aaf90f656524f44f83d5830.tar.bz2 scummvm-rg350-ca4789c2ffff32213aaf90f656524f44f83d5830.zip |
Fix lighting on actors in V6+ games (eg, Sam and Max)
Move boxflags debug to debug level 2 (we default to 1)
Apply patches:
595414: Simon 2 lockup workarounds
595875: Simon 2 save/load dialog fix
597422: Preliminary support for CREA sound format (for FT)
597627: Use savedir for save/load-string opcodes
svn-id: r4779
Diffstat (limited to 'script_v1.cpp')
-rw-r--r-- | script_v1.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/script_v1.cpp b/script_v1.cpp index 2fa4c55890..c056de812d 100644 --- a/script_v1.cpp +++ b/script_v1.cpp @@ -1989,7 +1989,10 @@ void Scumm::o5_roomOps() FILE *out; a = getVarOrDirectByte(0x80); - s = buf; + + // FIXME - check for buffer overflow + strcpy(buf, getSavePath()); + s = buf + strlen(buf); while ((*s++ = fetchScriptByte())); // Use buf as filename @@ -2007,7 +2010,10 @@ void Scumm::o5_roomOps() FILE *in; a = getVarOrDirectByte(0x80); - s = buf; + + // FIXME - check for buffer overflow + strcpy(buf, getSavePath()); + s = buf + strlen(buf); while ((*s++ = fetchScriptByte())); // Use buf as filename |