[Scummvm-cvs-logs] SF.net SVN: scummvm: [27204] scummvm/branches/branch-0-10-0/engines/agi/ predictive.cpp

anotherguest at users.sourceforge.net anotherguest at users.sourceforge.net
Fri Jun 8 20:07:12 CEST 2007


Revision: 27204
          http://scummvm.svn.sourceforge.net/scummvm/?rev=27204&view=rev
Author:   anotherguest
Date:     2007-06-08 11:07:12 -0700 (Fri, 08 Jun 2007)

Log Message:
-----------
In AGI only set prediction to enabled if dictionary was found.

Modified Paths:
--------------
    scummvm/branches/branch-0-10-0/engines/agi/predictive.cpp

Modified: scummvm/branches/branch-0-10-0/engines/agi/predictive.cpp
===================================================================
--- scummvm/branches/branch-0-10-0/engines/agi/predictive.cpp	2007-06-08 14:45:25 UTC (rev 27203)
+++ scummvm/branches/branch-0-10-0/engines/agi/predictive.cpp	2007-06-08 18:07:12 UTC (rev 27204)
@@ -121,9 +121,6 @@
 	bool navigationwithkeys = false;
 	bool processkey;
 
-	_predictiveDialogRunning = true;
-	_system->setFeatureState(OSystem::kFeatureDisableKeyFiltering, true);
-	
 	// FIXME: Move this to a more appropriate place.
 	initAsciiToNumTable();
 
@@ -153,6 +150,9 @@
 		if (!_searchTreeRoot)
 			return false;
 	}
+	
+	_predictiveDialogRunning = true;
+	_system->setFeatureState(OSystem::kFeatureDisableKeyFiltering, true);
 
 	memset(repeatcount, 0, MAXWORDLEN);
 


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