aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo
diff options
context:
space:
mode:
authorPaul Gilbert2015-08-16 21:41:18 -0400
committerPaul Gilbert2015-08-16 21:41:18 -0400
commit28dc37e627814a15bff752bea2cf9a0492559e6a (patch)
treefd03d83b2a82c47e42f551d12da8e77887d5c930 /engines/sherlock/tattoo
parent364a60801b361f3180538864c494fa3a24c9620a (diff)
downloadscummvm-rg350-28dc37e627814a15bff752bea2cf9a0492559e6a.tar.gz
scummvm-rg350-28dc37e627814a15bff752bea2cf9a0492559e6a.tar.bz2
scummvm-rg350-28dc37e627814a15bff752bea2cf9a0492559e6a.zip
SHERLOCK: RT: Fix return of findSpeaker
Diffstat (limited to 'engines/sherlock/tattoo')
-rw-r--r--engines/sherlock/tattoo/tattoo_people.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp
index c5b03b285d..4974b3df40 100644
--- a/engines/sherlock/tattoo/tattoo_people.cpp
+++ b/engines/sherlock/tattoo/tattoo_people.cpp
@@ -1370,7 +1370,7 @@ int TattooPeople::findSpeaker(int speaker) {
}
}
- return -1;
+ return result;
}
void TattooPeople::synchronize(Serializer &s) {