重新启用声音
This commit is contained in:
parent
9e5d6feb7d
commit
0ef0b3ecc7
|
@ -305,6 +305,7 @@ void GameController::setSound(bool arg)
|
|||
|
||||
void GameController::playSound(const QString &soundPath)
|
||||
{
|
||||
#define PLAY_SOUND
|
||||
#ifdef PLAY_SOUND
|
||||
if (hasSound) {
|
||||
QSound::play(soundPath);
|
||||
|
|
Loading…
Reference in New Issue