aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2014-05-05 21:48:24 +0200
committerStrangerke2014-05-05 21:48:24 +0200
commit753579172f03c9d6c0a00b6e773d3d6a67514cd1 (patch)
tree932ec43eddf02ed1ada37d962055b7ab8c34c49e
parent595f5dcb4f72d5273d2f39b2f060aef9689e1e4d (diff)
downloadscummvm-rg350-753579172f03c9d6c0a00b6e773d3d6a67514cd1.tar.gz
scummvm-rg350-753579172f03c9d6c0a00b6e773d3d6a67514cd1.tar.bz2
scummvm-rg350-753579172f03c9d6c0a00b6e773d3d6a67514cd1.zip
MADS: Fix code display in Teleporter room
-rw-r--r--engines/mads/nebular/nebular_scenes.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/mads/nebular/nebular_scenes.cpp b/engines/mads/nebular/nebular_scenes.cpp
index e2411672dc..b8b0984487 100644
--- a/engines/mads/nebular/nebular_scenes.cpp
+++ b/engines/mads/nebular/nebular_scenes.cpp
@@ -450,8 +450,7 @@ void SceneTeleporter::teleporterHandleKey() {
_curCode *= 10;
_curCode += _buttonTyped;
_digitCount++;
- _msgText = "";
- _msgText.format("%d", _curCode);
+ _msgText = Common::String::format("%d", _curCode);
if (_digitCount < 4)
_msgText += "_";