[Scummvm-cvs-logs] SF.net SVN: scummvm: [27461] scummvm/trunk/engines/parallaction/menu.cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Sat Jun 16 13:28:07 CEST 2007
Revision: 27461
http://scummvm.svn.sourceforge.net/scummvm/?rev=27461&view=rev
Author: peres001
Date: 2007-06-16 04:28:07 -0700 (Sat, 16 Jun 2007)
Log Message:
-----------
Made language selection screen policy clearer.
Modified Paths:
--------------
scummvm/trunk/engines/parallaction/menu.cpp
Modified: scummvm/trunk/engines/parallaction/menu.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/menu.cpp 2007-06-16 11:22:23 UTC (rev 27460)
+++ scummvm/trunk/engines/parallaction/menu.cpp 2007-06-16 11:28:07 UTC (rev 27461)
@@ -182,14 +182,15 @@
uint16 Menu::chooseLanguage() {
- if (_vm->getFeatures() & GF_DEMO) {
- return 1;
+ if (_vm->getPlatform() == Common::kPlatformAmiga) {
+ if (!(_vm->getFeatures() & GF_LANG_MULT)) {
+ if (_vm->getFeatures() & GF_DEMO)
+ return 1; // Amiga Demo supports English
+ else
+ return 0; // The only other non multi-lingual version just supports Italian
+ }
}
- if (_vm->getFeatures() == GF_LANG_IT) {
- return 0;
- }
-
// user can choose language in dos version
_vm->_disk->loadSlide("lingua");
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list