mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-20 00:41:12 +00:00
Fixed warning. (You shouldn't have to use floor() to simulate integer math
anyway.) svn-id: r31411
This commit is contained in:
parent
44ba7f97a9
commit
5a5d5c02e1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user