Skip to content

Commit

Permalink
HOPKINS: Remove long double usage
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Hoops committed Feb 25, 2013
1 parent 8630689 commit b22bb6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/hopkins/sound.cpp
Expand Up @@ -589,7 +589,7 @@ bool SoundManager::mixVoice(int voiceId, int voiceMode, bool dispTxtFl) {

// Reduce music volume during speech
if (!_musicOffFl && _musicVolume > 2) {
_musicVolume = (signed int)((long double)_musicVolume - (long double)_musicVolume / 100.0 * 45.0);
_musicVolume -= _musicVolume * 9 / 20;
setMODMusicVolume(_musicVolume);
}
}
Expand Down

0 comments on commit b22bb6d

Please sign in to comment.