aboutsummaryrefslogtreecommitdiff
path: root/sword1/debug.cpp
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-03-02 07:02:31 +0000
committerTorbjörn Andersson2004-03-02 07:02:31 +0000
commit1bdcc3e5efb20c69691275897536018a302c1745 (patch)
treeb22c4774edf351d5c0fe3edaa68a46682f8341bb /sword1/debug.cpp
parentca85e8d51d5a8b2d0489dbfb3d33a15480b1a90e (diff)
downloadscummvm-rg350-1bdcc3e5efb20c69691275897536018a302c1745.tar.gz
scummvm-rg350-1bdcc3e5efb20c69691275897536018a302c1745.tar.bz2
scummvm-rg350-1bdcc3e5efb20c69691275897536018a302c1745.zip
Removed the test for non-existing demo cutscenes: param[0] is an offset
into the chunk of memory handled by the memory manager, not a well-defined value. Also, it introduced a theoretical memory leak as fnPlaySequence() wouldn't get to clean up after itself. The correct place for this check is probably in MoviePlayer::play(), where you can test the name of the cutscene. On the other hand, the original demo will gladly play eye.smk if there is one, so why shouldn't we? svn-id: r13139
Diffstat (limited to 'sword1/debug.cpp')
0 files changed, 0 insertions, 0 deletions