aboutsummaryrefslogtreecommitdiff
path: root/engines/cryomni3d
diff options
context:
space:
mode:
authorLe Philousophe2019-05-30 12:13:09 +0200
committerEugene Sandulenko2019-06-01 22:43:48 +0200
commit5ed893bb6ab73384d647f3b20defa87e81a4c970 (patch)
tree37506d281efdd093727e942d79d5f016d3737dfe /engines/cryomni3d
parentbd8698897dbcba425a63255ebc2edf9c48cfb814 (diff)
downloadscummvm-rg350-5ed893bb6ab73384d647f3b20defa87e81a4c970.tar.gz
scummvm-rg350-5ed893bb6ab73384d647f3b20defa87e81a4c970.tar.bz2
scummvm-rg350-5ed893bb6ab73384d647f3b20defa87e81a4c970.zip
CRYOMNI3D: Move break to be clear it's not a fall through
Diffstat (limited to 'engines/cryomni3d')
-rw-r--r--engines/cryomni3d/versailles/documentation.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/cryomni3d/versailles/documentation.cpp b/engines/cryomni3d/versailles/documentation.cpp
index abdbc63bdf..38328f28cf 100644
--- a/engines/cryomni3d/versailles/documentation.cpp
+++ b/engines/cryomni3d/versailles/documentation.cpp
@@ -596,15 +596,13 @@ uint Versailles_Documentation::docAreaHandleRecords(const Common::String &record
nextRecord = docAreaHandleCastleMap();
if (nextRecord == "") {
// Go back to current record
- break;
} else if (nextRecord != "planG") {
_currentRecord = nextRecord;
- break;
} else {
// We can't go up to previous case, so let's do a round
action = 7;
- break;
}
+ break;
case 9:
action = -1;
// Start of category