aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2004-10-12 06:24:46 +0000
committerTorbjörn Andersson2004-10-12 06:24:46 +0000
commiteaccebd7fcc39043d4a245a1347af7ef9d8e6c9f (patch)
treebe2ba837ea7a25cd8afdac2653e7b98dc35b57c7 /sword2
parent4b4c4f1d1d09a11258079c39941e87cadbf33d19 (diff)
downloadscummvm-rg350-eaccebd7fcc39043d4a245a1347af7ef9d8e6c9f.tar.gz
scummvm-rg350-eaccebd7fcc39043d4a245a1347af7ef9d8e6c9f.tar.bz2
scummvm-rg350-eaccebd7fcc39043d4a245a1347af7ef9d8e6c9f.zip
Cleanup
svn-id: r15526
Diffstat (limited to 'sword2')
-rw-r--r--sword2/driver/d_sound.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/driver/d_sound.cpp b/sword2/driver/d_sound.cpp
index 4c38326b2e..6572b43539 100644
--- a/sword2/driver/d_sound.cpp
+++ b/sword2/driver/d_sound.cpp
@@ -182,10 +182,10 @@ CLUInputStream::CLUInputStream(File *file, int size)
_file->incRef();
// Determine the end position.
- _end_pos = file->pos() + size;
+ _file_pos = _file->pos();
+ _end_pos = _file_pos + size;
// Read in initial data
- _file_pos = _file->pos();
refill();
}