diff options
-rw-r--r-- | engines/mads/nebular/nebular_scenes.cpp | 3 |
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 += "_"; |