1
This commit is contained in:
parent
95912c3465
commit
d407438935
@ -1883,7 +1883,7 @@ void Human::NotifyObservers(cs::SMUpdate* msg, cs::MFActivePlayerData* active_pl
|
||||
std::set<int> synced_objects;
|
||||
for (Human* observer : observers_) {
|
||||
msg->clear_team_data();
|
||||
if (observer->GetTeam()) {
|
||||
if (observer->GetTeam() && !observer->GetTeam()->IsViewTeam()) {
|
||||
observer->GetTeam()->TraverseMembers
|
||||
(
|
||||
[observer, msg] (Human* member) -> bool
|
||||
|
@ -1364,6 +1364,9 @@ void Room::UpdateGas()
|
||||
a8::HasBitFlag(c->status, CS_Disable)) {
|
||||
continue;
|
||||
}
|
||||
if (c->IsOb()) {
|
||||
continue;
|
||||
}
|
||||
bool b1 = a8::CircleContainCircle
|
||||
(gas_data_.pos_old,
|
||||
gas_data_.gas_progress,
|
||||
|
Loading…
x
Reference in New Issue
Block a user