mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-21 19:51:49 +00:00
LAB: Rename a parameter for consistency with other function definitions
This commit is contained in:
parent
2981ccc243
commit
d827faf156
@ -258,7 +258,7 @@ void Music::checkRoomMusic() {
|
||||
/**
|
||||
* Changes the background music to something else.
|
||||
*/
|
||||
void Music::changeMusic(const char *newmusic) {
|
||||
void Music::changeMusic(const char *filename) {
|
||||
if (!_tFile) {
|
||||
_tFile = _file;
|
||||
_oldMusicOn = _musicOn;
|
||||
@ -268,7 +268,7 @@ void Music::changeMusic(const char *newmusic) {
|
||||
_tLeftInFile = _leftInFile;
|
||||
}
|
||||
|
||||
_file = _vm->_resource->openDataFile(newmusic);
|
||||
_file = _vm->_resource->openDataFile(filename);
|
||||
// turn music off
|
||||
_musicOn = true;
|
||||
setMusic(false);
|
||||
|
@ -80,7 +80,7 @@ public:
|
||||
public:
|
||||
Music(LabEngine *vm);
|
||||
|
||||
void changeMusic(const char *newmusic);
|
||||
void changeMusic(const char *filename);
|
||||
void checkRoomMusic();
|
||||
void freeMusic();
|
||||
bool initMusic(const char *filename);
|
||||
|
Loading…
x
Reference in New Issue
Block a user