aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-05-05 20:02:37 -0400
committerPaul Gilbert2014-05-05 20:02:37 -0400
commitf8380e9654f98700691956c784df57b6f4ac618c (patch)
tree58a916cf9af18abc4e644ddcbfa2e1983d16a5d8 /engines
parent753579172f03c9d6c0a00b6e773d3d6a67514cd1 (diff)
downloadscummvm-rg350-f8380e9654f98700691956c784df57b6f4ac618c.tar.gz
scummvm-rg350-f8380e9654f98700691956c784df57b6f4ac618c.tar.bz2
scummvm-rg350-f8380e9654f98700691956c784df57b6f4ac618c.zip
MADS: Fix teleporter booths to show booth code as 4 digits
Diffstat (limited to 'engines')
-rw-r--r--engines/mads/nebular/nebular_scenes.cpp2
1 files changed, 1 insertions, 1 deletions
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);