Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Commit

Permalink
enable MIDI playback
Browse files Browse the repository at this point in the history
  • Loading branch information
cyxx committed Jun 22, 2016
1 parent d00b80b commit 87ace23
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions game.cpp
Expand Up @@ -1000,19 +1000,17 @@ void Game::playMusic(const char *name) {
File *f = new File;
if (f->open(filePath)) {
_mixer->playMusic(f, &_mixerMusicId);
return;
} else {
delete f;
}
return;
}
}
File *f = _fs.openFile(name, false);
if (f) {
_mixer->playMusic(f, &_mixerMusicId);
_fs.closeFile(f);
return;
}
warning("Unable to find mapping for midi music '%s'", name);
}

void Game::changeObjectMotionFrame(int object, int object2, int useObject2, int count1, int count2, int useDx, int dx, int useDy, int dy) {
Expand Down

0 comments on commit 87ace23

Please sign in to comment.