Skip to content

Commit

Permalink
SAGA: Add missing "break"s
Browse files Browse the repository at this point in the history
It seems pretty clear to me that these fallthroughs were not
intentional, seeing how one of them could cause ITE to fall through
to IHNM-specific code.

CID 1003744, 1003745
  • Loading branch information
Torbjörn Andersson committed Jun 1, 2013
1 parent 251b760 commit c4b3f11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engines/saga/events.cpp
Expand Up @@ -533,6 +533,7 @@ int Events::handleOneShot(Event *event) {
default:
break;
}
break;
#ifdef ENABLE_IHNM
case kCutawayEvent:
switch (event->op) {
Expand All @@ -545,6 +546,7 @@ int Events::handleOneShot(Event *event) {
default:
break;
}
break;
#endif
case kActorEvent:
switch (event->op) {
Expand All @@ -554,6 +556,7 @@ int Events::handleOneShot(Event *event) {
default:
break;
}
break;
default:
break;
}
Expand Down

0 comments on commit c4b3f11

Please sign in to comment.