[Scummvm-cvs-logs] CVS: scummvm/common timer.cpp,1.27,1.28

Max Horn fingolfin at users.sourceforge.net
Sat Mar 27 10:34:04 CET 2004


Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14208

Modified Files:
	timer.cpp 
Log Message:
small tweak

Index: timer.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/timer.cpp,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- timer.cpp	15 Mar 2004 01:18:47 -0000	1.27
+++ timer.cpp	27 Mar 2004 18:22:36 -0000	1.28
@@ -129,7 +129,7 @@
 		if (_timerSlots[l].procedure == procedure) {
 			_timerSlots[l].procedure = 0;
 			_timerSlots[l].interval = 0;
-			_timerSlots[l].counter = 0;
+			_timerSlots[l].counter = 1;	// Work around a problem when a timer proc removes itself
 			_timerSlots[l].refCon = 0;
 		}
 	}





More information about the Scummvm-git-logs mailing list