[Scummvm-cvs-logs] SF.net SVN: scummvm:[40655] scummvm/trunk/engines/kyra/script_tim.cpp

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sun May 17 17:54:29 CEST 2009


Revision: 40655
          http://scummvm.svn.sourceforge.net/scummvm/?rev=40655&view=rev
Author:   athrxx
Date:     2009-05-17 15:54:29 +0000 (Sun, 17 May 2009)

Log Message:
-----------
LOL: - fix animations for fletcher shop in the swamp

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/script_tim.cpp

Modified: scummvm/trunk/engines/kyra/script_tim.cpp
===================================================================
--- scummvm/trunk/engines/kyra/script_tim.cpp	2009-05-17 15:02:34 UTC (rev 40654)
+++ scummvm/trunk/engines/kyra/script_tim.cpp	2009-05-17 15:54:29 UTC (rev 40655)
@@ -597,7 +597,8 @@
 	Animation &anim = _animations[param[0]];
 	const int frame = param[1];
 	int page = (anim.wsaCopyParams & 0x4000) != 0 ? 2 : _drawPage2;
-	anim.wsa->displayFrame(frame, page, anim.x, anim.y, anim.wsaCopyParams & 0xF0FF, 0, 0);
+	if (anim.wsa)
+		anim.wsa->displayFrame(frame, page, anim.x, anim.y, anim.wsaCopyParams & 0xF0FF, 0, 0);
 	if (!page)
 		screen()->updateScreen();
 	return 1;


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