[Scummvm-cvs-logs] scummvm master -> 2e02e1c9387a62d2be0ffbce2bdb03bde01b9697

Strangerke Strangerke at scummvm.org
Sat May 24 01:17:01 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:
2e02e1c938 AVALANCHE: Initialize two variables in GhostRoom()


Commit: 2e02e1c9387a62d2be0ffbce2bdb03bde01b9697
    https://github.com/scummvm/scummvm/commit/2e02e1c9387a62d2be0ffbce2bdb03bde01b9697
Author: Strangerke (strangerke at scummvm.org)
Date: 2014-05-24T01:15:47+02:00

Commit Message:
AVALANCHE: Initialize two variables in GhostRoom()

Changed paths:
    engines/avalanche/ghostroom.cpp



diff --git a/engines/avalanche/ghostroom.cpp b/engines/avalanche/ghostroom.cpp
index 16c79fd..047a367 100644
--- a/engines/avalanche/ghostroom.cpp
+++ b/engines/avalanche/ghostroom.cpp
@@ -49,6 +49,9 @@ GhostRoom::GhostRoom(AvalancheEngine *vm) {
 	_greldetCount = 0;
 	_redGreldet = false;
 	_wasLoaded = false;
+
+	_ghost = nullptr;
+	_glerk = nullptr;
 }
 
 GhostRoom::~GhostRoom() {






More information about the Scummvm-git-logs mailing list