diff options
Diffstat (limited to 'engines/sword1')
-rw-r--r-- | engines/sword1/sound.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/engines/sword1/sound.cpp b/engines/sword1/sound.cpp index fd0a37003e..6c255cb4ce 100644 --- a/engines/sword1/sound.cpp +++ b/engines/sword1/sound.cpp @@ -382,10 +382,8 @@ void Sound::initCowSystem(void) { } void Sound::closeCowSystem(void) { - if (_cowFile.isOpen()) - _cowFile.close(); - if (_cowHeader) - free(_cowHeader); + _cowFile.close(); + free(_cowHeader); _cowHeader = NULL; _currentCowFile = 0; } |