From d4a4727553566eb2669cf624c1158a74a9bbaf2d Mon Sep 17 00:00:00 2001 From: Robert Göffringmann Date: Fri, 12 Nov 2004 18:12:41 +0000 Subject: use message window instead of console printf if user wants to load a savegame from a different BASS version svn-id: r15797 --- sky/control.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'sky/control.cpp') 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; } } -- cgit v1.2.3