From 270c5cec520c9fc8243ea9cdd79330306e276092 Mon Sep 17 00:00:00 2001 From: Jochen Hoenicke Date: Fri, 5 Mar 2004 14:34:39 +0000 Subject: Initialize _random_lsr to avoid valgrind warnings svn-id: r13202 --- scumm/player_v1.cpp | 1 + 1 file changed, 1 insertion(+) 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() { -- cgit v1.2.3