[Scummvm-cvs-logs] SF.net SVN: scummvm: [26250] scummvm/trunk/engines/parallaction/dialogue. cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Mon Mar 19 23:32:36 CET 2007


Revision: 26250
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26250&view=rev
Author:   peres001
Date:     2007-03-19 15:32:35 -0700 (Mon, 19 Mar 2007)

Log Message:
-----------
applied De Morgan's law to an expression to expose similarities

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/dialogue.cpp

Modified: scummvm/trunk/engines/parallaction/dialogue.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/dialogue.cpp	2007-03-19 22:30:54 UTC (rev 26249)
+++ scummvm/trunk/engines/parallaction/dialogue.cpp	2007-03-19 22:32:35 UTC (rev 26250)
@@ -377,10 +377,10 @@
 
 	Cnv* v6E;
 
-	if (!scumm_stricmp(data->_name, "yourself") || data->_name[0] == '\0') {
+	if (scumm_stricmp(data->_name, "yourself") && data->_name[0] != '\0') {
+		v6E = _vm->_disk->loadTalk(data->_name);
+	} else {
 		v6E = _vm->_char._talk;
-	} else {
-		v6E = _vm->_disk->loadTalk(data->_name);
 	}
 
 	_askPassword = false;


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