aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he/logic
diff options
context:
space:
mode:
authorEugene Sandulenko2016-05-11 10:46:01 +0200
committerEugene Sandulenko2016-05-11 10:46:01 +0200
commit42db1618fdf5680a9204af1685abc5ba7fc262cb (patch)
tree522b8e0935e82dda8554e49ae991a2537c03d392 /engines/scumm/he/logic
parentaa875aefb2609ebea224f311638c8721711c5bb5 (diff)
downloadscummvm-rg350-42db1618fdf5680a9204af1685abc5ba7fc262cb.tar.gz
scummvm-rg350-42db1618fdf5680a9204af1685abc5ba7fc262cb.tar.bz2
scummvm-rg350-42db1618fdf5680a9204af1685abc5ba7fc262cb.zip
SCUMM HE: Further work on Moonbase FOW. Now the game does not crash.
Diffstat (limited to 'engines/scumm/he/logic')
-rw-r--r--engines/scumm/he/logic/moonbase_logic.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/scumm/he/logic/moonbase_logic.cpp b/engines/scumm/he/logic/moonbase_logic.cpp
index 4483f1abca..a32356614f 100644
--- a/engines/scumm/he/logic/moonbase_logic.cpp
+++ b/engines/scumm/he/logic/moonbase_logic.cpp
@@ -191,7 +191,9 @@ void LogicHEmoonbase::op_set_fow_sentinel(int32 *args) {
}
void LogicHEmoonbase::op_set_fow_information(int op, int numArgs, int32 *args) {
- Common::String str("op_set_fow_information(%d", args[0]);
+ Common::String str;
+
+ str = Common::String::format("op_set_fow_information(%d", args[0]);
for (int i = 1; i < numArgs; i++) {
str += Common::String::format(", %d", args[i]);
}