aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorEugene Sandulenko2020-01-06 13:26:18 +0100
committerEugene Sandulenko2020-01-06 13:26:18 +0100
commit14719c46c718cf284bde7d54842ec338510aa273 (patch)
tree01466e35d9e44248343cd5cb007959f1a5962c88 /engines
parent046c1fc1c78f52245d8aca3c2ecf281ae7da104c (diff)
downloadscummvm-rg350-14719c46c718cf284bde7d54842ec338510aa273.tar.gz
scummvm-rg350-14719c46c718cf284bde7d54842ec338510aa273.tar.bz2
scummvm-rg350-14719c46c718cf284bde7d54842ec338510aa273.zip
DIRECTOR: LINGO: Clarify the control flow
Diffstat (limited to 'engines')
-rw-r--r--engines/director/lingo/lingo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/director/lingo/lingo.cpp b/engines/director/lingo/lingo.cpp
index 03533babe6..31f2046b08 100644
--- a/engines/director/lingo/lingo.cpp
+++ b/engines/director/lingo/lingo.cpp
@@ -323,6 +323,7 @@ double Datum::toFloat() {
switch (type) {
case REFERENCE:
toString();
+ // fallthrough
case STRING:
u.f = atof(u.s->c_str());
break;