home
·
contact
·
privacy
projects
/
plomrogue
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2f7f39
)
Fixed typo in comment.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 31 Jan 2014 23:34:58 +0000
(
00:34
+0100)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 31 Jan 2014 23:34:58 +0000
(
00:34
+0100)
src/server/ai.c
patch
|
blob
|
history
diff --git
a/src/server/ai.c
b/src/server/ai.c
index 75b4b89fc350b45d26da319a9f0046c71a24afa4..6c45571aed8c0112ba6c91f537de00f17a64c9ba 100644
(file)
--- 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.)
+ * (Actor
s'
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";