diff options
author | Filippos Karapetis | 2007-06-12 12:49:07 +0000 |
---|---|---|
committer | Filippos Karapetis | 2007-06-12 12:49:07 +0000 |
commit | 5dc568e7a73c73841a96175a11b86f4218fa0d33 (patch) | |
tree | 281c81c4aadba8327097e80a35121c228db2f1c2 | |
parent | 6e5b70f5e9f8690b467ea8837e727e1048838788 (diff) | |
download | scummvm-rg350-5dc568e7a73c73841a96175a11b86f4218fa0d33.tar.gz scummvm-rg350-5dc568e7a73c73841a96175a11b86f4218fa0d33.tar.bz2 scummvm-rg350-5dc568e7a73c73841a96175a11b86f4218fa0d33.zip |
Fix for #1733238 - FW: crash in copier room
svn-id: r27376
-rw-r--r-- | engines/cine/object.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/cine/object.cpp b/engines/cine/object.cpp index 1e92234e04..cab8d98977 100644 --- a/engines/cine/object.cpp +++ b/engines/cine/object.cpp @@ -160,7 +160,11 @@ int16 freeOverlay(uint16 objIdx, uint16 param) { tempPtr2->previous = currentHeadPtr->previous; - free(currentHeadPtr); + // FIXME: is this needed? It causes crashes in Windows in the drawOverlays function + // (the currentOverlay pointer is incorrect) + // Removing this fixes bug #1733238 - FW: crash in copier room + // Also, it stops the game from crashing right after the introduction + //free(currentHeadPtr); return 0; } |