1
This commit is contained in:
parent
bcf9fa317a
commit
99c936164f
@ -1264,7 +1264,6 @@ void Human::SendUpdateMsg()
|
|||||||
|
|
||||||
void Human::UpdateGameOver()
|
void Human::UpdateGameOver()
|
||||||
{
|
{
|
||||||
#if 1
|
|
||||||
a8::MutableXObject* params = a8::MutableXObject::NewObject();
|
a8::MutableXObject* params = a8::MutableXObject::NewObject();
|
||||||
GenBattleReportData(params);
|
GenBattleReportData(params);
|
||||||
auto on_ok = [] (a8::XParams& param, a8::XObject& data)
|
auto on_ok = [] (a8::XParams& param, a8::XObject& data)
|
||||||
@ -1323,11 +1322,6 @@ void Human::UpdateGameOver()
|
|||||||
rand()
|
rand()
|
||||||
);
|
);
|
||||||
delete params;
|
delete params;
|
||||||
#else
|
|
||||||
cs::SMGameOver msg;
|
|
||||||
FillSMGameOver(msg);
|
|
||||||
SendNotifyMsg(msg);
|
|
||||||
#endif
|
|
||||||
send_gameover = false;
|
send_gameover = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user