/*
* 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
* 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;
/* 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",
* 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, ...)