[Scummvm-devel] Re: CVS: scummvm/scumm actor.cpp,1.190,1.191

Max Horn max at quendi.de
Mon Dec 15 07:49:14 CET 2003


Am Montag, 15.12.03 um 15:59 Uhr schrieb Travis Howell:

> Update of /cvsroot/scummvm/scummvm/scumm
> In directory sc8-pr-cvs1:/tmp/cvs-serv9130/scumm
>
> Modified Files:
> 	actor.cpp
> Log Message:
>
> Stops zak losing his body.
>
>
> Index: actor.cpp
> ===================================================================
> RCS file: /cvsroot/scummvm/scummvm/scumm/actor.cpp,v
> retrieving revision 1.190
> retrieving revision 1.191
> diff -u -d -r1.190 -r1.191
> --- actor.cpp	6 Dec 2003 16:12:14 -0000	1.190
> +++ actor.cpp	15 Dec 2003 14:59:24 -0000	1.191
> @@ -471,7 +471,7 @@
>  			animProgress = 0;
>  			cost.animCounter = 0;
>  			needRedraw = true;
> -			if (f == initFrame)
> +			if (_vm->_version >= 3 && f == initFrame)
>  				cost.reset();
I am not totally convinced this fix is right. At least a comment 
stating "Changed this to not call cost.reset() for V1/V2 games to 
workaround bug #XYZ" should be added.

Max





More information about the Scummvm-devel mailing list