[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.364,1.365

Travis Howell kirben at users.sourceforge.net
Thu Dec 11 17:32:00 CET 2003


Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv16810/simon

Modified Files:
	simon.cpp 
Log Message:

Prevent quick load/save during copy protection or conversation.


Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.364
retrieving revision 1.365
diff -u -d -r1.364 -r1.365
--- simon.cpp	12 Dec 2003 00:05:28 -0000	1.364
+++ simon.cpp	12 Dec 2003 01:31:02 -0000	1.365
@@ -4847,9 +4847,8 @@
 					_saveLoadFlag = (event.kbd.flags == OSystem::KBD_ALT) ? 1 : 2;
 
 					// We should only allow a load or save when it was possible in original
-					// This stops load/save during cutscenes
-					// But can still load/save during converstation
-					if (!_lock_counter)
+					// This stops load/save during copy protection, conversations and cut scenes
+					if (!_lock_counter && !_show_preposition)
 						quick_load_or_save();
 				} else if (event.kbd.flags == OSystem::KBD_CTRL) {
 					if (event.kbd.keycode == 'a') {





More information about the Scummvm-git-logs mailing list