[Scummvm-cvs-logs] SF.net SVN: scummvm: [32221] scummvm/trunk/engines/saga/puzzle.cpp

thebluegr at users.sourceforge.net thebluegr at users.sourceforge.net
Fri May 23 11:17:40 CEST 2008


Revision: 32221
          http://scummvm.svn.sourceforge.net/scummvm/?rev=32221&view=rev
Author:   thebluegr
Date:     2008-05-23 02:17:39 -0700 (Fri, 23 May 2008)

Log Message:
-----------
Messages in the ITE puzzle scene will now be properly shown in Italian in the Italian fan translation of ITE

Modified Paths:
--------------
    scummvm/trunk/engines/saga/puzzle.cpp

Modified: scummvm/trunk/engines/saga/puzzle.cpp
===================================================================
--- scummvm/trunk/engines/saga/puzzle.cpp	2008-05-23 06:26:11 UTC (rev 32220)
+++ scummvm/trunk/engines/saga/puzzle.cpp	2008-05-23 09:17:39 UTC (rev 32221)
@@ -54,8 +54,13 @@
 };
 
 Puzzle::Puzzle(SagaEngine *vm) : _vm(vm), _solved(false), _active(false) {
-	_lang = (_vm->getLanguage() == Common::DE_DEU) ? 1 : 0;
+	_lang = 0;
 
+	if (_vm->getLanguage() == Common::DE_DEU)
+		_lang = 1;
+	else if (_vm->getLanguage() == Common::IT_ITA)
+		_lang = 2;
+
 	_hintRqState = kRQNoHint;
 	_hintOffer = 0;
 	_hintCount = 0;


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