diff options
Diffstat (limited to 'engines/saga')
-rw-r--r-- | engines/saga/sndres.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/saga/sndres.cpp b/engines/saga/sndres.cpp index fd1d09038e..9d3d4a9afa 100644 --- a/engines/saga/sndres.cpp +++ b/engines/saga/sndres.cpp @@ -186,7 +186,7 @@ bool SndRes::load(ResourceContext *context, uint32 resourceId, SoundBuffer &buff if (_vm->getGameType() == GType_IHNM && _vm->isMacResources()) { Common::File soundFile; char soundFileName[40]; - int dirIndex = floor((float)(resourceId / 64)); + int dirIndex = resourceId / 64; if ((context->fileType & GAME_VOICEFILE) != 0) { if (_voiceSerial == 0) { |