diff options
Diffstat (limited to 'engines/tinsel/handle.cpp')
-rw-r--r-- | engines/tinsel/handle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tinsel/handle.cpp b/engines/tinsel/handle.cpp index 41774a9c88..b463244123 100644 --- a/engines/tinsel/handle.cpp +++ b/engines/tinsel/handle.cpp @@ -411,7 +411,7 @@ uint8 *LockMem(SCNHANDLE offset) { if (pH->pNode->pBaseAddr && (pH->filesize & fLoaded)) // already allocated and loaded return pH->pNode->pBaseAddr + (offset & OFFSETMASK); - + if (pH->pNode->pBaseAddr == NULL) // must have been discarded - reallocate the memory MemoryReAlloc(pH->pNode, pH->filesize & FSIZE_MASK, |