1
This commit is contained in:
parent
507d264ffc
commit
fb3bf9c79a
@ -41,6 +41,10 @@ namespace mt
|
||||
s_.wait_cloud_time = GetIntParam("wait_cloud_time", 10);
|
||||
#if 1
|
||||
s_.match_lock_time++;
|
||||
#endif
|
||||
s_.pre_client_shot = GetIntParam("pre_client_shot", 0);
|
||||
#ifdef DEBUG
|
||||
s_.pre_client_shot = 1;
|
||||
#endif
|
||||
#if 1
|
||||
{
|
||||
|
@ -106,6 +106,8 @@ namespace mt
|
||||
int robot_placement_time = 360;
|
||||
std::vector<float> robot_placement_type;
|
||||
|
||||
int pre_client_shot = 0;
|
||||
|
||||
};
|
||||
static void StaticPostInit();
|
||||
static const S& s() { return s_; };
|
||||
|
@ -1383,6 +1383,7 @@ void Player::PushJoinRoomMsg()
|
||||
notifymsg.set_error_code(0);
|
||||
notifymsg.set_server_info(JsonDataMgr::Instance()->server_info);
|
||||
room->FillSMJoinedNotify(this, notifymsg);
|
||||
notifymsg.set_pre_client_shot(mt::Param::s().pre_client_shot);
|
||||
GGListener::Instance()->SendToClient(socket_handle, 0, notifymsg);
|
||||
}
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user