mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-23 02:11:38 +00:00
Fixed some valgrind warnings.
svn-id: r31798
This commit is contained in:
parent
a666136b8e
commit
5bfc3170a3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user