From ec72c1e406d753db8fd9cb49fb00cb1563267f54 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 2 Jan 2003 22:59:36 +0000 Subject: [PATCH] fix uninitted variable --- stepmania/src/arch/Sound/DSoundHelpers.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/arch/Sound/DSoundHelpers.cpp b/stepmania/src/arch/Sound/DSoundHelpers.cpp index a58510ac60..afed58659c 100644 --- a/stepmania/src/arch/Sound/DSoundHelpers.cpp +++ b/stepmania/src/arch/Sound/DSoundHelpers.cpp @@ -51,7 +51,7 @@ DSoundBuf::DSoundBuf(DSound &ds, DSoundBuf::hw hardware, samplebits = samplebits_; writeahead = writeahead_; buffer_locked = false; - last_cursor_pos = write_cursor = 0; + last_cursor_pos = write_cursor = LastPosition = 0; /* The size of the actual DSound buffer. This can be large; we generally * won't fill it completely. */