diff options
author | Jonathan Gray | 2004-08-01 07:56:08 +0000 |
---|---|---|
committer | Jonathan Gray | 2004-08-01 07:56:08 +0000 |
commit | bc900fde60f53601c100be5a2c994ae160441d9f (patch) | |
tree | 18bf3ed8c38be599e58ff980167c09fd604b2fa9 /saga | |
parent | 6a2e05edb8ac8c1e1cdbcfdcc9d42dcf2a2584c9 (diff) | |
download | scummvm-rg350-bc900fde60f53601c100be5a2c994ae160441d9f.tar.gz scummvm-rg350-bc900fde60f53601c100be5a2c994ae160441d9f.tar.bz2 scummvm-rg350-bc900fde60f53601c100be5a2c994ae160441d9f.zip |
init some member vars
svn-id: r14414
Diffstat (limited to 'saga')
-rw-r--r-- | saga/music.cpp | 1 | ||||
-rw-r--r-- | saga/render.cpp | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/saga/music.cpp b/saga/music.cpp index 947149e159..81cf82a227 100644 --- a/saga/music.cpp +++ b/saga/music.cpp @@ -47,6 +47,7 @@ static const byte mt32_to_gm[128] = { MusicPlayer::MusicPlayer(MidiDriver *driver) : _parser(0), _driver(driver), _looping(false), _isPlaying(false) { memset(_channel, 0, sizeof(_channel)); + _masterVolume = 0; this->open(); } diff --git a/saga/render.cpp b/saga/render.cpp index 925207c594..a1a2b76343 100644 --- a/saga/render.cpp +++ b/saga/render.cpp @@ -88,6 +88,7 @@ Render::Render(SagaEngine *vm, OSystem *system) : _vm(vm), _system(system), _ini _tmp_buf_h = tmp_h; _backbuf_surface = GFX_GetBackBuffer(); + _flags = 0; _initialized = true; } |