1
This commit is contained in:
parent
6fc3fb460a
commit
f1a24c90b0
@ -113,7 +113,7 @@ void Player::_CMExecCommand(f8::MsgHdr* hdr, const cs::CMExecCommand& msg)
|
|||||||
if (team == GetTeam()) {
|
if (team == GetTeam()) {
|
||||||
team = room->GetMobaTeamB();
|
team = room->GetMobaTeamB();
|
||||||
}
|
}
|
||||||
while (team->GetKillCount() <100) {
|
while (team->GetKillCount() < 100) {
|
||||||
team->IncKillCount();
|
team->IncKillCount();
|
||||||
}
|
}
|
||||||
if (!room->moba_over_timer.expired()) {
|
if (!room->moba_over_timer.expired()) {
|
||||||
|
@ -1803,11 +1803,7 @@ void Room::UpdateGasMoving()
|
|||||||
gas_data_.pos_old = gas_data_.pos_old_bk + dir * distance;
|
gas_data_.pos_old = gas_data_.pos_old_bk + dir * distance;
|
||||||
}
|
}
|
||||||
if (gas_data_.rad_old - distance <= gas_data_.rad_new) {
|
if (gas_data_.rad_old - distance <= gas_data_.rad_new) {
|
||||||
#if 1
|
|
||||||
assert(gas_data_.rad_old - distance <= gas_data_.rad_new + 5);
|
assert(gas_data_.rad_old - distance <= gas_data_.rad_new + 5);
|
||||||
#else
|
|
||||||
assert(gas_data_.pos_new == gas_data_.pos_old);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (std::abs(gas_data_.gas_progress - gas_data_.rad_new) <= 0.001f) {
|
if (std::abs(gas_data_.gas_progress - gas_data_.rad_new) <= 0.001f) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user