diff -ur ScummVM-cvs20020915/scummvm/scumm/string.cpp ScummVM-cvs20020915+hack/scummvm/scumm/string.cpp
old
|
new
|
|
173 | 173 | |
174 | 174 | a = buffer[2] | (buffer[3] << 8) | (buffer[6] << 16) | (buffer[7] << 24); |
175 | 175 | b = buffer[10] | (buffer[11] << 8) | (buffer[14] << 16) | (buffer[15] << 24); |
176 | | // if (_saveSound != 1) |
177 | | _sound->talkSound(a, b, 1, -1); |
| 176 | |
| 177 | // Sam & Max uses some sort of wacky sound pre-loading |
| 178 | // mechanism which works by printing empty messages with a |
| 179 | // sound attached to them, usually when entering a new room. |
| 180 | // This phantom menace ends here. |
| 181 | |
| 182 | if (_gameId != GID_SAMNMAX || _vars[9] != 2) |
| 183 | _sound->talkSound(a, b, 1, -1); |
178 | 184 | } |
179 | 185 | // warning("unkMessage1(\"%s\")", buffer); |
180 | 186 | } |