Commit 0718310e authored by fallenstardust's avatar fallenstardust

异画同曲

parent 6abe1256
#include "sound_manager.h"
#include "config.h"
#include "game.h"
#include "data_manager.h"
namespace ygo {
......@@ -149,6 +150,10 @@ void SoundManager::StopBGM() {
bgm->stopAll();
}
bool SoundManager::PlayChant(unsigned int code) {
CardData cd;
if(dataManager.GetData(code, &cd) && (cd.alias != 0))
code=cd.alias;
if(ChantsList.count(code)) {
if (bgm) {
bgm_process = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment