Commit 213d2537 authored by nanahira's avatar nanahira

add hint 24 as lyric

parent 6391e3f8
......@@ -1266,6 +1266,10 @@ int DuelClient::ClientAnalyze(char * msg, unsigned int len) {
soundManager.StopBGM();
}
}
// lyric
case 24: { //HINT_LYRIC
mainGame->AddChatMsg(dataManager.GetDesc(data), 15);
}
}
break;
}
......
......@@ -627,7 +627,8 @@ int SingleDuel::Analyze(char* msgbuffer, unsigned int len) {
case 10:
case 21:
case 22:
case 23: {
case 23:
case 24: {
NetServer::SendBufferToPlayer(players[0], STOC_GAME_MSG, offset, pbuf - offset);
NetServer::SendBufferToPlayer(players[1], STOC_GAME_MSG, offset, pbuf - offset);
for(auto oit = observers.begin(); oit != observers.end(); ++oit)
......
......@@ -590,10 +590,11 @@ int TagDuel::Analyze(char* msgbuffer, unsigned int len) {
NetServer::ReSendToPlayer(*oit);
break;
}
case 10:
case 21:
case 22:
case 23:
case 10: {
case 24: {
for(int i = 0; i < 4; ++i)
NetServer::SendBufferToPlayer(players[i], STOC_GAME_MSG, offset, pbuf - offset);
for(auto oit = observers.begin(); oit != observers.end(); ++oit)
......
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