[Scummvm-cvs-logs] CVS: scummvm/simon simon.cpp,1.113,1.114
Oliver Kiehl
olki at users.sourceforge.net
Sat Dec 7 10:01:07 CET 2002
Update of /cvsroot/scummvm/scummvm/simon
In directory sc8-pr-cvs1:/tmp/cvs-serv10735
Modified Files:
simon.cpp
Log Message:
cleanup
Index: simon.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/simon/simon.cpp,v
retrieving revision 1.113
retrieving revision 1.114
diff -u -d -r1.113 -r1.114
--- simon.cpp 7 Dec 2002 17:36:38 -0000 1.113
+++ simon.cpp 7 Dec 2002 18:00:25 -0000 1.114
@@ -1098,11 +1098,7 @@
_left_button_down = 0;
do {
-#ifdef WIN32
- if (GetAsyncKeyState(VK_F5) != 0 && _bit_array[0] & 0x200) {
-#else
- if (_bit_array[0] & 0x200) {
-#endif
+ if (_exit_cutscene && (_bit_array[0] & 0x200)) {
startSubroutine170();
goto out_of_here;
}
@@ -1164,14 +1160,9 @@
{
_lock_word |= 1;
- if (_lock_counter != 0) {
- if (_lock_counter == 1) {
-#ifdef WIN32
- GetAsyncKeyState(VK_LBUTTON);
-#endif
- }
+ if (_lock_counter != 0)
_lock_counter--;
- }
+
_lock_word &= ~1;
}
More information about the Scummvm-git-logs
mailing list