aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/tattoo/tattoo_people.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sherlock/tattoo/tattoo_people.cpp')
-rw-r--r--engines/sherlock/tattoo/tattoo_people.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/engines/sherlock/tattoo/tattoo_people.cpp b/engines/sherlock/tattoo/tattoo_people.cpp
index 458cc1a9c2..0eecfe05c4 100644
--- a/engines/sherlock/tattoo/tattoo_people.cpp
+++ b/engines/sherlock/tattoo/tattoo_people.cpp
@@ -314,6 +314,7 @@ void TattooPerson::gotoStand() {
case WALK_DOWNLEFT: _sequenceNumber = STOP_DOWNLEFT;break;
case WALK_LEFT: _sequenceNumber = STOP_LEFT; break;
case WALK_UPLEFT: _sequenceNumber = STOP_UPLEFT; break;
+ default: break;
}
}
@@ -439,6 +440,8 @@ void TattooPerson::setWalking() {
case WALK_RIGHT:
_sequenceNumber = WALK_DOWNRIGHT;
break;
+ default:
+ break;
}
} else if (_delta.y < -1500) {
if (_sequenceNumber == WALK_LEFT || _sequenceNumber == WALK_RIGHT) {
@@ -455,6 +458,8 @@ void TattooPerson::setWalking() {
case WALK_RIGHT:
_sequenceNumber = WALK_UPRIGHT;
break;
+ default:
+ break;
}
}
} else {
@@ -773,6 +778,8 @@ void TattooPerson::updateNPC() {
case NPCPATH_IFFLAG_GOTO_LABEL:
_npcIndex += 4;
break;
+ default:
+ break;
}
}
break;
@@ -819,6 +826,8 @@ void TattooPerson::updateNPC() {
case NPCPATH_IFFLAG_GOTO_LABEL:
_npcIndex += 4;
break;
+ default:
+ break;
}
}
}