Doc fix.
This commit is contained in:
parent
87af0f7fc4
commit
4ff857507e
3 changed files with 2 additions and 7 deletions
|
@ -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;
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -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, ...)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue