diff options
Diffstat (limited to 'engines/sword2/sound.h')
-rw-r--r-- | engines/sword2/sound.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword2/sound.h b/engines/sword2/sound.h index 70bae6f851..b89ef8f12b 100644 --- a/engines/sword2/sound.h +++ b/engines/sword2/sound.h @@ -106,7 +106,7 @@ private: void refill(); inline bool eosIntern() const { - return _pos >= _bufferEnd; + return !_file->isOpen() || _pos >= _bufferEnd; } public: |