diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/guest_additions.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/guest_additions.cpp b/engines/sci/engine/guest_additions.cpp index e74a5d6e3f..6a1c51065c 100644 --- a/engines/sci/engine/guest_additions.cpp +++ b/engines/sci/engine/guest_additions.cpp @@ -446,7 +446,7 @@ void GuestAdditions::patchGameSaveRestorePhant2(Script &script) const { for (ObjMap::const_iterator it = objects.begin(); it != objects.end(); ++it) { const Object &obj = it->_value; - if (strncmp(_segMan->derefString(obj.getNameSelector()), "srGetGame", 9) != 0) { + if (strcmp(_segMan->derefString(obj.getNameSelector()), "srGetGame") != 0) { continue; } |