临时禁止发声
This commit is contained in:
parent
a598e569ec
commit
4086f2b434
|
@ -305,9 +305,11 @@ void GameController::setSound(bool arg)
|
|||
|
||||
void GameController::playSound(const QString &soundPath)
|
||||
{
|
||||
#ifdef PLAY_SOUND
|
||||
if (hasSound) {
|
||||
QSound::play(soundPath);
|
||||
}
|
||||
#endif /* PLAY_SOUND */
|
||||
}
|
||||
|
||||
// 上下翻转
|
||||
|
|
Loading…
Reference in New Issue