aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2013-07-15 11:54:26 +0300
committerEugene Sandulenko2013-07-15 11:54:26 +0300
commitce057f896f70bab50d73abd4dc3f9a880490d6ca (patch)
treeeebf4e6db06fe373ce3fefa631a5345ea6486457 /engines
parent059fa15d148018a01721205f824116a905a73ff1 (diff)
downloadscummvm-rg350-ce057f896f70bab50d73abd4dc3f9a880490d6ca.tar.gz
scummvm-rg350-ce057f896f70bab50d73abd4dc3f9a880490d6ca.tar.bz2
scummvm-rg350-ce057f896f70bab50d73abd4dc3f9a880490d6ca.zip
AGI: Fix CID 1003769. Missing break in switch
Diffstat (limited to 'engines')
-rw-r--r--engines/agi/preagi_troll.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/agi/preagi_troll.cpp b/engines/agi/preagi_troll.cpp
index b7d2801076..fc29577982 100644
--- a/engines/agi/preagi_troll.cpp
+++ b/engines/agi/preagi_troll.cpp
@@ -190,6 +190,7 @@ void TrollEngine::inventory() {
break;
case IDI_TRO_MAX_TREASURE:
drawStr(3, 17, kColorDefault, IDS_TRO_TREASURE_2);
+ break;
default:
sprintf(tmp, IDS_TRO_TREASURE_4, _treasuresLeft);
drawStr(20, 10, kColorDefault, tmp);