aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorJochen Hoenicke2004-03-05 14:34:39 +0000
committerJochen Hoenicke2004-03-05 14:34:39 +0000
commit270c5cec520c9fc8243ea9cdd79330306e276092 (patch)
treea2a06e34e0a5934e225fcad63cca89f2f6fdbec0 /scumm
parentbec9e69e42b64e31b69dbdaf9b5021775528831e (diff)
downloadscummvm-rg350-270c5cec520c9fc8243ea9cdd79330306e276092.tar.gz
scummvm-rg350-270c5cec520c9fc8243ea9cdd79330306e276092.tar.bz2
scummvm-rg350-270c5cec520c9fc8243ea9cdd79330306e276092.zip
Initialize _random_lsr to avoid valgrind warnings
svn-id: r13202
Diffstat (limited to 'scumm')
-rw-r--r--scumm/player_v1.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/player_v1.cpp b/scumm/player_v1.cpp
index 909fa4a54d..29103dab07 100644
--- a/scumm/player_v1.cpp
+++ b/scumm/player_v1.cpp
@@ -42,6 +42,7 @@ Player_V1::Player_V1(ScummEngine *scumm, bool pcjr) : Player_V2(scumm, pcjr) {
_mplex_step = (_sample_rate << FIXP_SHIFT) / 1193000;
_next_chunk = _repeat_chunk = 0;
_forced_level = 0;
+ _random_lsr = 0;
}
Player_V1::~Player_V1() {