diff options
author | Robert Göffringmann | 2004-11-12 18:12:41 +0000 |
---|---|---|
committer | Robert Göffringmann | 2004-11-12 18:12:41 +0000 |
commit | d4a4727553566eb2669cf624c1158a74a9bbaf2d (patch) | |
tree | 6b07efb214a94153ce725b74c0b279771f24528a /sky | |
parent | 057cec5a05769e7f2afdc726d921089a60dba9a8 (diff) | |
download | scummvm-rg350-d4a4727553566eb2669cf624c1158a74a9bbaf2d.tar.gz scummvm-rg350-d4a4727553566eb2669cf624c1158a74a9bbaf2d.tar.bz2 scummvm-rg350-d4a4727553566eb2669cf624c1158a74a9bbaf2d.zip |
use message window instead of console printf if user wants to load a savegame from a different BASS version
svn-id: r15797
Diffstat (limited to 'sky')
-rw-r--r-- | sky/control.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sky/control.cpp b/sky/control.cpp index f800f7e27a..2f0733937a 100644 --- a/sky/control.cpp +++ b/sky/control.cpp @@ -1459,8 +1459,10 @@ uint16 Control::parseSaveData(uint8 *srcBuf) { LODSD(srcPos, gameVersion); if (gameVersion != SkyEngine::_systemVars.gameVersion) { if ((!SkyEngine::isCDVersion()) || (gameVersion < 365)) { // cd versions are compatible - printf("This savegame was created by Beneath a Steel Sky v0.0%03d\n", gameVersion); - printf("It cannot be loaded by this version (v0.0%3d)\n", SkyEngine::_systemVars.gameVersion); + displayMessage(NULL, "This savegame was created by\n" + "Beneath a Steel Sky v0.0%03d\n" + "It cannot be loaded by this version (v0.0%3d)", + gameVersion, SkyEngine::_systemVars.gameVersion); return RESTORE_FAILED; } } |