[Scummvm-cvs-logs] CVS: scummvm gfx.cpp,1.81,1.82
James Brown
ender at users.sourceforge.net
Fri Apr 26 04:04:04 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv3781
Modified Files:
gfx.cpp
Log Message:
Fix screen corruption after shaking.
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gfx.cpp,v
retrieving revision 1.81
retrieving revision 1.82
diff -C2 -d -r1.81 -r1.82
*** gfx.cpp 24 Apr 2002 14:13:09 -0000 1.81
--- gfx.cpp 26 Apr 2002 11:01:47 -0000 1.82
***************
*** 1826,1829 ****
--- 1826,1832 ----
void Scumm::setShake(int mode)
{
+ if (_shakeEnabled != (mode != 0))
+ _fullRedraw = true;
+
_shakeEnabled = mode != 0;
_shakeFrame = 0;
More information about the Scummvm-git-logs
mailing list