X-Git-Url: https://plomlompom.com/repos/feed.xml?a=blobdiff_plain;f=src%2Fserver%2Fai.c;h=6c45571aed8c0112ba6c91f537de00f17a64c9ba;hb=2e1622b732921e08dcb125a32c75aea89ab047ba;hp=75b4b89fc350b45d26da319a9f0046c71a24afa4;hpb=e2f7f39d5d52702f0b0b9dfdcf5867be325e7572;p=plomrogue diff --git a/src/server/ai.c b/src/server/ai.c index 75b4b89..6c45571 100644 --- a/src/server/ai.c +++ b/src/server/ai.c @@ -116,7 +116,7 @@ static char get_dir_to_nearest_enemy(struct MapObj * mo_target) { /* Calculate for each cell the distance to the nearest map actor that is * not "mo_target", with movement only possible in the directions of "dir". - * (Actor's own cells start with a distance of 0 towards themselves.) + * (Actors' own cells start with a distance of 0 towards themselves.) */ uint8_t max_score = UINT8_MAX; /* Score for cells treated as unreachable. */ char * dirs = "NESW";