Civilians should re-evaluate their fleeing every 1/2 second, so as not to run in to enemies too easily.
This commit is contained in:
parent
2662076711
commit
09761ccd78
|
@ -463,7 +463,7 @@ static int nearEnemies(void)
|
|||
self->targetLocation.x /= numEnemies;
|
||||
self->targetLocation.y /= numEnemies;
|
||||
self->action = fleeEnemies;
|
||||
self->aiActionTime = FPS * 3;
|
||||
self->aiActionTime = FPS / 2;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue