Fixed some valgrind warnings.

svn-id: r31798
This commit is contained in:
Johannes Schickel 2008-05-01 22:42:05 +00:00
parent a666136b8e
commit 5bfc3170a3

View File

@ -634,6 +634,8 @@ void KyraEngine_v3::startup() {
memset(_conversationState, -1, sizeof(_conversationState));
_sceneList = new SceneDesc[98];
assert(_sceneList);
memset(_sceneList, 0, sizeof(SceneDesc)*98);
_sceneListSize = 98;
musicUpdate(0);