From 67159d453998c3aae395f4fba943111884ea03e7 Mon Sep 17 00:00:00 2001 From: Gregory Montoir Date: Sun, 28 Dec 2003 15:29:05 +0000 Subject: cleanup Resource class a bit : - re-use some methods to read the resource table (normal / compressed) - removed _gameVersion member as we can do without it (and is mostly useless in case of a compressed data file) ; now, we use the 'JAS version string' as it is sufficient to detect if the game is a floppy version / demo etc. - const'ness - tweaked checkJASVersion() for interview mini game removed (useless) dirty hack in Logic::changeRoom() to setup initial scene in demos (pclogo.cut doesn't exist at all !) svn-id: r11998 --- queen/journal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'queen/journal.cpp') diff --git a/queen/journal.cpp b/queen/journal.cpp index f2e36ff550..076e92402a 100644 --- a/queen/journal.cpp +++ b/queen/journal.cpp @@ -543,7 +543,7 @@ void Journal::showInformationBox() { _vm->graphics()->textSetCentered(144, "Fran\x87""ais", false); break; } - char versionId[12]; + char versionId[13]; sprintf(versionId, "Version %c.%c%c", ver[2], ver[3], ver[4]); _vm->graphics()->textSetCentered(156, versionId, false); } -- cgit v1.2.3