1
This commit is contained in:
parent
4ce77a7e08
commit
a39bab2e4b
@ -1796,6 +1796,7 @@ void Human::ClearFrameData()
|
|||||||
new_objects.clear();
|
new_objects.clear();
|
||||||
}
|
}
|
||||||
if (!del_objects.empty()) {
|
if (!del_objects.empty()) {
|
||||||
|
if (!a8::HasBitFlag(status, HS_Disable)) {
|
||||||
for (auto& itr : del_objects) {
|
for (auto& itr : del_objects) {
|
||||||
Entity* entity = room->GetEntityByUniId(itr);
|
Entity* entity = room->GetEntityByUniId(itr);
|
||||||
if (entity) {
|
if (entity) {
|
||||||
@ -1809,9 +1810,11 @@ void Human::ClearFrameData()
|
|||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
del_objects.clear();
|
del_objects.clear();
|
||||||
}
|
}
|
||||||
if (!out_objects.empty()) {
|
if (!out_objects.empty()) {
|
||||||
|
if (!a8::HasBitFlag(status, HS_Disable)) {
|
||||||
for (auto& itr : out_objects) {
|
for (auto& itr : out_objects) {
|
||||||
Entity* entity = room->GetEntityByUniId(itr);
|
Entity* entity = room->GetEntityByUniId(itr);
|
||||||
if (entity) {
|
if (entity) {
|
||||||
@ -1825,6 +1828,7 @@ void Human::ClearFrameData()
|
|||||||
room->CheckPartObjects();
|
room->CheckPartObjects();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
}
|
||||||
out_objects.clear();
|
out_objects.clear();
|
||||||
}
|
}
|
||||||
if (!shots_.empty()) {
|
if (!shots_.empty()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user