diff --git a/engines/kyra/kyra_v3.cpp b/engines/kyra/kyra_v3.cpp index 1cfeaf3b712..fd0b5b9e93b 100644 --- a/engines/kyra/kyra_v3.cpp +++ b/engines/kyra/kyra_v3.cpp @@ -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);