1
This commit is contained in:
parent
f313a4b5c4
commit
5728dd0f1d
@ -2107,6 +2107,9 @@ float Human::GetHitRadius()
|
|||||||
|
|
||||||
void Human::UpdateViewObjects()
|
void Human::UpdateViewObjects()
|
||||||
{
|
{
|
||||||
|
if (dead) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (view_objects_.size() >= 2) {
|
if (view_objects_.size() >= 2) {
|
||||||
std::vector<Human*> deleted_humans;
|
std::vector<Human*> deleted_humans;
|
||||||
for (Human* hum : view_objects_) {
|
for (Human* hum : view_objects_) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user