aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/resource.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/scumm/resource.cpp b/scumm/resource.cpp
index a096bed374..edc6bc66ab 100644
--- a/scumm/resource.cpp
+++ b/scumm/resource.cpp
@@ -921,7 +921,6 @@ int Scumm::convertADResource(int type, int idx, byte * src_ptr, int size) {
if (music_type != 0x80) {
// It's an SFX; we don't know how to handle those yet
debug(4, "Sound %d not played, format not yet supported", idx);
- nukeResource(type, idx);
res.roomoffs[type][idx] = 0xFFFFFFFF;
return 0;
}
@@ -947,8 +946,6 @@ int Scumm::convertADResource(int type, int idx, byte * src_ptr, int size) {
track = src_ptr;
- // Now nuke the old resource, and replace it with a new one
- nukeResource(type, idx);
int total_size = 8 + 16 + 14 + 8 + 7 + 8*sizeof(ADLIB_INSTR_MIDI_HACK) + size;
total_size += 24; // Up to 24 additional bytes are needed for the jump sysex