1
This commit is contained in:
parent
771bccf2d2
commit
a4252de74d
@ -2085,9 +2085,6 @@ void Room::ProcShuaAndroid(int shua_time, int shua_num)
|
||||
}
|
||||
}
|
||||
hum->SetPos(pos);
|
||||
#if 0
|
||||
a8::SetBitFlag(hum->status, HS_NewBieNpc);
|
||||
#endif
|
||||
EnableHuman(hum);
|
||||
xtimer.AddDeadLineTimerAndAttach
|
||||
(
|
||||
@ -2262,29 +2259,6 @@ void Room::CheckAutoDie(Human* target,
|
||||
hum->name,
|
||||
hum->curr_weapon->weapon_id);
|
||||
}
|
||||
#if 0
|
||||
hum->SetPos(target->GetPos());
|
||||
EnableHuman(hum);
|
||||
xtimer.AddDeadLineTimerAndAttach
|
||||
(
|
||||
SERVER_FRAME_RATE * autodie_time,
|
||||
a8::XParams()
|
||||
.SetSender(hum)
|
||||
.SetParam1(autodie_time)
|
||||
.SetParam2(autodie_distance)
|
||||
.SetParam3(0),
|
||||
[] (const a8::XParams& param)
|
||||
{
|
||||
Human* hum = (Human*)param.sender.GetUserData();
|
||||
hum->room->CheckAutoDie(
|
||||
hum,
|
||||
param.param1,
|
||||
param.param2,
|
||||
param.param3
|
||||
);
|
||||
},
|
||||
&hum->xtimer_attacher.timer_list_);
|
||||
#endif
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,9 @@ static RoomType_e GetHumanRoomType(const cs::CMJoin& msg)
|
||||
//游戏次数,吃鸡数,击杀数
|
||||
int game_times = a8::XValue(tmp_strings[0]);
|
||||
if (!f8::IsOnlineEnv()) {
|
||||
game_times = 0;
|
||||
#if 1
|
||||
game_times = 1;
|
||||
#endif
|
||||
if (!msg.team_uuid().empty()) {
|
||||
game_times = 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user