This commit is contained in:
Markus Armbruster 2006-02-12 23:01:47 +00:00
parent 87af0f7fc4
commit 4ff857507e
3 changed files with 2 additions and 7 deletions

View 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;

View 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",