1
This commit is contained in:
parent
b41e51cf0b
commit
7f6320ee49
@ -377,6 +377,9 @@ Human* ZombieAI::GetTarget()
|
||||
if (myself->team_id == hum->team_id) {
|
||||
return;
|
||||
}
|
||||
if (myself->GetRace() == hum->GetRace()) {
|
||||
return;
|
||||
}
|
||||
if (target) {
|
||||
if (myself->GetPos().ManhattanDistance(target->GetPos()) >
|
||||
myself->GetPos().ManhattanDistance(hum->GetPos())) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user