diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/object.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index 1034427b48..60cca10d65 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -553,6 +553,12 @@ void Scumm::loadRoomObjectsOldBundle() { setupRoomObject(od, room); ptr += 2; + + if (_dumpScripts) { + char buf[32]; + sprintf(buf, "roomobj-%d-", _roomResource); + dumpResource(buf, od->obj_nr, room + od->OBCDoffset); + } } CHECK_HEAP |