From f8380e9654f98700691956c784df57b6f4ac618c Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 5 May 2014 20:02:37 -0400 Subject: MADS: Fix teleporter booths to show booth code as 4 digits --- engines/mads/nebular/nebular_scenes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/mads/nebular/nebular_scenes.cpp b/engines/mads/nebular/nebular_scenes.cpp index b8b0984487..1c9cd41973 100644 --- a/engines/mads/nebular/nebular_scenes.cpp +++ b/engines/mads/nebular/nebular_scenes.cpp @@ -556,7 +556,7 @@ void SceneTeleporter::teleporterEnter() { _meteorologistNextPlace = _globals[kTeleporterCode + i]; } - Common::String msgText2 = Common::String::format("#%d", tmpVal); + Common::String msgText2 = Common::String::format("#%.4d", tmpVal); if (_scene->_currentSceneId != 711) { _scene->_kernelMessages.add(Common::Point(133, 34), 0, 32, 0, 9999999, msgText2); -- cgit v1.2.3