[Scummvm-cvs-logs] scummvm master -> 95ba430d11a09ec6fbc997550074b940223eebf5

eriktorbjorn eriktorbjorn at telia.com
Sat Jun 28 08:43:30 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
95ba430d11 NEVERHOOD: Initialize _newMoveDirection. Valgrind complained.


Commit: 95ba430d11a09ec6fbc997550074b940223eebf5
    https://github.com/scummvm/scummvm/commit/95ba430d11a09ec6fbc997550074b940223eebf5
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2014-06-28T08:11:54+02:00

Commit Message:
NEVERHOOD: Initialize _newMoveDirection. Valgrind complained.

Changed paths:
    engines/neverhood/modules/module1600_sprites.cpp



diff --git a/engines/neverhood/modules/module1600_sprites.cpp b/engines/neverhood/modules/module1600_sprites.cpp
index 09e3d0a..ad78f1c 100644
--- a/engines/neverhood/modules/module1600_sprites.cpp
+++ b/engines/neverhood/modules/module1600_sprites.cpp
@@ -48,6 +48,7 @@ AsCommonCar::AsCommonCar(NeverhoodEngine *vm, Scene *parentScene, int16 x, int16
 	_soundCounter = 0;
 	_pathPoints = NULL;
 	_currMoveDirection = 0;
+	_newMoveDirection = 0;
 
 	startAnimation(0xD4220027, 0, -1);
 	setDoDeltaX(getGlobalVar(V_CAR_DELTA_X));






More information about the Scummvm-git-logs mailing list