[Scummvm-cvs-logs] CVS: scummvm/graphics animation.cpp,1.9,1.10

Bertrand Augereau tramboi at users.sourceforge.net
Mon Jul 19 04:36:01 CEST 2004


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

Modified Files:
	animation.cpp 
Log Message:
Changed order of initialisation in BaseAnimationState::BaseAnimationState() to match order of declaration, to avoid a pedantic warning

Index: animation.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/graphics/animation.cpp,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -d -r1.9 -r1.10
--- animation.cpp	11 Jul 2004 04:41:47 -0000	1.9
+++ animation.cpp	19 Jul 2004 11:35:29 -0000	1.10
@@ -28,7 +28,7 @@
 namespace Graphics {
 
 BaseAnimationState::BaseAnimationState(SoundMixer *snd, OSystem *sys, int width, int height) 
-	: _snd(snd), _sys(sys), MOVIE_WIDTH(width), MOVIE_HEIGHT(height) {
+	: MOVIE_WIDTH(width), MOVIE_HEIGHT(height), _snd(snd), _sys(sys) {
 }
 
 BaseAnimationState::~BaseAnimationState() {





More information about the Scummvm-git-logs mailing list