1
This commit is contained in:
parent
0a2a1e4919
commit
9c25fdbb7e
@ -1103,9 +1103,7 @@ void Player::_CMVoice(f8::MsgHdr& hdr, const cs::CMVoice& msg)
|
|||||||
|
|
||||||
void Player::_CMGameOver(f8::MsgHdr& hdr, const cs::CMGameOver& msg)
|
void Player::_CMGameOver(f8::MsgHdr& hdr, const cs::CMGameOver& msg)
|
||||||
{
|
{
|
||||||
if (room->GetGasData().GetGasMode() == GasInactive ||
|
if (room->GetGasData().GetGasMode() == GasInactive) {
|
||||||
HasBuffEffect(kBET_Fly) ||
|
|
||||||
HasBuffEffect(kBET_Jump)) {
|
|
||||||
stats.is_run_away = true;
|
stats.is_run_away = true;
|
||||||
}
|
}
|
||||||
CancelRevive();
|
CancelRevive();
|
||||||
@ -1122,9 +1120,7 @@ void Player::_CMWatchWar(f8::MsgHdr& hdr, const cs::CMWatchWar& msg)
|
|||||||
|
|
||||||
void Player::_CMLeave(f8::MsgHdr& hdr, const cs::CMLeave& msg)
|
void Player::_CMLeave(f8::MsgHdr& hdr, const cs::CMLeave& msg)
|
||||||
{
|
{
|
||||||
if (room->GetGasData().GetGasMode() == GasInactive ||
|
if (room->GetGasData().GetGasMode() == GasInactive) {
|
||||||
HasBuffEffect(kBET_Fly) ||
|
|
||||||
HasBuffEffect(kBET_Jump)) {
|
|
||||||
stats.is_run_away = true;
|
stats.is_run_away = true;
|
||||||
}
|
}
|
||||||
if (!leave_) {
|
if (!leave_) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user