Skip to content

Commit

Permalink
NEVERHOOD: Initialize _newMoveDirection. Valgrind complained.
Browse files Browse the repository at this point in the history
  • Loading branch information
Torbjörn Andersson committed Jun 28, 2014
1 parent 7d78a74 commit 95ba430
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions engines/neverhood/modules/module1600_sprites.cpp
Expand Up @@ -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));
Expand Down

0 comments on commit 95ba430

Please sign in to comment.