]> git.pond.sub.org Git - empserver/commitdiff
Doc fix.
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 12 Feb 2006 23:01:47 +0000 (23:01 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 12 Feb 2006 23:01:47 +0000 (23:01 +0000)
src/lib/common/bestpath.c
src/lib/common/file.c
src/lib/subs/pr.c

index 38aa4ead13e90744e7aa4503a0ff67ac2d52f822..156336936d8cd1891f2cabf5ea1c3b69ef64155d 100644 (file)
@@ -34,7 +34,6 @@
 /* 
  * IMPORTANT: These routines are very selectively used in the server.
  *
- * "bestpath" is now obsolete (and removed)
  * "bestownedpath" is only used to determine paths for ships and planes.
  * 
  * Callers should not be calling these directly anymore. They should use
@@ -117,9 +116,6 @@ int dy[6] = { 0, -1, -1, 0, 1, 1 };
  * but we don't want to allocate each and every time, since that
  * would be slow.  And, since world size only changes at init
  * time, we can do this safely.
- * We also share these buffers between "bestpath" and "bestownedpath"
- * since you can never be in both functions at the same time.  If that
- * did happen, we'd already be so broken that it won't matter.
  */
 static unsigned int *mapbuf = (unsigned int *)0;
 static unsigned int **mapindex = (unsigned int **)0;
index fcf84a4a2b1db2818bee077781e86d1e74e94726..482624178be6760b7f29b2809b1b680c20fbf126 100644 (file)
@@ -101,7 +101,7 @@ ef_open(int type, int how)
 
     /* allocate cache */
     if (ep->flags & EFF_STATIC) {
-       /* ep->cache already points to space for e->csize elements */
+       /* ep->cache already points to space for ep->csize elements */
        if (how & EFF_MEM) {
            if (ep->fids > ep->csize) {
                logerror("Can't open %s: file larger than %d bytes",
index 5729330113e9ffe69c0a9aeee1da39801d696bfa..efa6b7238edcda1011055723380f44ae7356a4be 100644 (file)
@@ -114,8 +114,7 @@ uprnf(char *buf)
  * arguments.  It is assumed to be already user text.  Plain ASCII and
  * text received from the same player are fine, for anything else the
  * caller has to deal with output filtering.
- * If a partial line with different id is buffered, terminate it with
- * a newline first.
+ * If a partial line is buffered, terminate it with a newline first.
  */
 void
 pr_id(struct player *p, int id, char *format, ...)