diff options
author | Torbjörn Andersson | 2003-12-19 06:51:32 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-12-19 06:51:32 +0000 |
commit | a3310a5de932095809e21b63ee593efe213a3080 (patch) | |
tree | 08ca3807f5a6e00c6a292864742c6f447e9b7b4f /dists/msevc3/sword2.vcp | |
parent | d8903123b0bd4265de03f40eaaf6bb1d2b160c3f (diff) | |
download | scummvm-rg350-a3310a5de932095809e21b63ee593efe213a3080.tar.gz scummvm-rg350-a3310a5de932095809e21b63ee593efe213a3080.tar.bz2 scummvm-rg350-a3310a5de932095809e21b63ee593efe213a3080.zip |
Make sure that playSample() gets a pointer to the original QueueElement
instead of a copy of it. Otherwise the sound engine will never notice when
a sample finishes playing since it's looking at the wrong sound handle.
For whatever reason, this also seems to fix the "game crashes occasionally
on startup with completely useless stack trace" bug for me. The crash was
easily repeatable in Valgrind for me, but the messages it produced were
just as unhelpful as the stack trace. These messages are also gone now.
svn-id: r11757
Diffstat (limited to 'dists/msevc3/sword2.vcp')
0 files changed, 0 insertions, 0 deletions