[Scummvm-cvs-logs] CVS: scummvm/sword2/driver animation.cpp,1.44,1.45

Max Horn fingolfin at users.sourceforge.net
Sun Dec 5 09:43:09 CET 2004


Update of /cvsroot/scummvm/scummvm/sword2/driver
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26853/sword2/driver

Modified Files:
	animation.cpp 
Log Message:
Clean up OSystem::Event

Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/driver/animation.cpp,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -d -r1.44 -r1.45
--- animation.cpp	28 Sep 2004 20:19:36 -0000	1.44
+++ animation.cpp	5 Dec 2004 17:42:20 -0000	1.45
@@ -255,7 +255,7 @@
 
 		OSystem::Event event;
 		while (_sys->pollEvent(event)) {
-			switch (event.event_code) {
+			switch (event.type) {
 #ifndef BACKEND_8BIT
 			case OSystem::EVENT_SCREEN_CHANGED:
 				anim->invalidateLookup(true);





More information about the Scummvm-git-logs mailing list