modules müssen ohne gamecode kompilieren, damit mapper noch läuft

This commit is contained in:
Enno Rehling 2001-12-30 08:39:21 +00:00
parent df0512ed72
commit 6084a67a31
4 changed files with 5 additions and 2 deletions

View File

@ -426,7 +426,7 @@ ufindhash (int i)
#define FMAXHASH 2047 #define FMAXHASH 2047
faction * factionhash[FMAXHASH]; faction * factionhash[FMAXHASH];
static void void
fhash(faction * f) fhash(faction * f)
{ {
int index = f->no % FMAXHASH; int index = f->no % FMAXHASH;
@ -434,7 +434,7 @@ fhash(faction * f)
factionhash[index] = f; factionhash[index] = f;
} }
static void void
funhash(faction * f) funhash(faction * f)
{ {
int index = f->no % FMAXHASH; int index = f->no % FMAXHASH;

View File

@ -1064,6 +1064,9 @@ void uhash(struct unit * u);
void uunhash(struct unit * u); void uunhash(struct unit * u);
struct unit *ufindhash(int i); struct unit *ufindhash(int i);
void fhash(struct faction * f);
void funhash(struct faction * f);
#ifndef NDEBUG #ifndef NDEBUG
const char *strcheck(const char *s, size_t maxlen); const char *strcheck(const char *s, size_t maxlen);