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:
Steve 2015-11-13 16:54:38 +00:00
parent 2662076711
commit 09761ccd78
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}