1
This commit is contained in:
parent
a6112c1b62
commit
f747efb205
@ -1095,6 +1095,7 @@ void Player::_CMGameOver(f8::MsgHdr& hdr, const cs::CMGameOver& msg)
|
|||||||
{
|
{
|
||||||
if (room->GetGasData().GetGasMode() == GasInactive) {
|
if (room->GetGasData().GetGasMode() == GasInactive) {
|
||||||
stats->is_run_away = true;
|
stats->is_run_away = true;
|
||||||
|
GetTeam()->RunAway(this);
|
||||||
}
|
}
|
||||||
CancelRevive();
|
CancelRevive();
|
||||||
if (!dead) {
|
if (!dead) {
|
||||||
|
@ -461,3 +461,8 @@ void Team::GenBattleUuid()
|
|||||||
hum->GetBattleContext()->battle_uuid = battle_uuid;
|
hum->GetBattleContext()->battle_uuid = battle_uuid;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Team::RunAway(Human* hum)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
@ -49,6 +49,7 @@ class Team
|
|||||||
void SendTeamBattleReport(Human* sender);
|
void SendTeamBattleReport(Human* sender);
|
||||||
void GenBattleReportData(Human* player, a8::MutableXObject* params);
|
void GenBattleReportData(Human* player, a8::MutableXObject* params);
|
||||||
void GenBattleUuid();
|
void GenBattleUuid();
|
||||||
|
void RunAway(Human* hum);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int team_id_ = 0;
|
int team_id_ = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user