aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/lure/hotspots.cpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index 949b16bc7e..b0b1830201 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -2713,7 +2713,7 @@ void HotspotTickHandlers::standardCharacterAnimHandler(Hotspot &h) {
pathFinder.reset(paths);
h.currentActions().top().setAction(PROCESSING_PATH);
- // Deliberate fall through to processing walking path
+ // fall through
case PROCESSING_PATH:
// Handle processing pathfinding
@@ -2801,6 +2801,8 @@ void HotspotTickHandlers::standardCharacterAnimHandler(Hotspot &h) {
if (h.currentActions().isEmpty() || h.currentActions().top().action() != WALKING)
break;
+ // fall through
+
case WALKING:
// The character is currently moving
debugC(ERROR_DETAILED, kLureDebugAnimations, "Hotspot standard character walking");
@@ -3061,7 +3063,8 @@ void HotspotTickHandlers::playerAnimHandler(Hotspot &h) {
// Set current action to processing walking path
actions.pop();
h.currentActions().addFront(PROCESSING_PATH, h.roomNumber());
- // Deliberate fall through to processing walking path
+
+ // fall through
case PROCESSING_PATH:
h.setCharacterMode(CHARMODE_NONE);
@@ -3111,7 +3114,7 @@ void HotspotTickHandlers::playerAnimHandler(Hotspot &h) {
if (mouse.getCursorNum() != CURSOR_CAMERA)
mouse.setCursorNum(CURSOR_ARROW);
- // Deliberate fall through to walking
+ // fall through
case WALKING:
// The character is currently moving
@@ -3600,6 +3603,8 @@ void HotspotTickHandlers::talkAnimHandler(Hotspot &h) {
if (res.getTalkingCharacter() != 0)
return;
+ // fall through
+
case TALK_RESPOND_3:
// Respond
selectedLine = res.getTalkSelection();
@@ -4046,6 +4051,7 @@ void HotspotTickHandlers::rackSerfAnimHandler(Hotspot &h) {
h.setLayer(2);
// fall through
+
case 4:
if (HotspotScript::execute(&h)) {
h.setLayer(255);