diff options
Diffstat (limited to 'engines/sci')
-rw-r--r-- | engines/sci/resource.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/engines/sci/resource.cpp b/engines/sci/resource.cpp index 57a4fbc751..af0f08b17a 100644 --- a/engines/sci/resource.cpp +++ b/engines/sci/resource.cpp @@ -2358,12 +2358,9 @@ Common::String ResourceManager::findSierraGameId() { seeker = heap->data + READ_UINT16(heap->data + READ_UINT16(exportPtr) + nameSelector * 2); } - char c = 0; - do { - c = *(seeker++); - sierraId += c; - } while (c); + sierraId += *(seeker++); + } while (*seeker); return sierraId; } |