From 99c936164f1a1b42553f6e2ace178a4ed1aec69d Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 5 May 2019 16:28:27 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 6 ------ 1 file changed, 6 deletions(-) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 4fde2d6..5a177b1 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -1264,7 +1264,6 @@ void Human::SendUpdateMsg() void Human::UpdateGameOver() { - #if 1 a8::MutableXObject* params = a8::MutableXObject::NewObject(); GenBattleReportData(params); auto on_ok = [] (a8::XParams& param, a8::XObject& data) @@ -1323,11 +1322,6 @@ void Human::UpdateGameOver() rand() ); delete params; - #else - cs::SMGameOver msg; - FillSMGameOver(msg); - SendNotifyMsg(msg); - #endif send_gameover = false; }