From 753579172f03c9d6c0a00b6e773d3d6a67514cd1 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Mon, 5 May 2014 21:48:24 +0200 Subject: MADS: Fix code display in Teleporter room --- engines/mads/nebular/nebular_scenes.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'engines') 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 += "_"; -- cgit v1.2.3