forked from github/server
modules müssen ohne gamecode kompilieren, damit mapper noch läuft
This commit is contained in:
parent
df0512ed72
commit
6084a67a31
|
@ -426,7 +426,7 @@ ufindhash (int i)
|
|||
#define FMAXHASH 2047
|
||||
faction * factionhash[FMAXHASH];
|
||||
|
||||
static void
|
||||
void
|
||||
fhash(faction * f)
|
||||
{
|
||||
int index = f->no % FMAXHASH;
|
||||
|
@ -434,7 +434,7 @@ fhash(faction * f)
|
|||
factionhash[index] = f;
|
||||
}
|
||||
|
||||
static void
|
||||
void
|
||||
funhash(faction * f)
|
||||
{
|
||||
int index = f->no % FMAXHASH;
|
||||
|
|
|
@ -1064,6 +1064,9 @@ void uhash(struct unit * u);
|
|||
void uunhash(struct unit * u);
|
||||
struct unit *ufindhash(int i);
|
||||
|
||||
void fhash(struct faction * f);
|
||||
void funhash(struct faction * f);
|
||||
|
||||
#ifndef NDEBUG
|
||||
const char *strcheck(const char *s, size_t maxlen);
|
||||
|
||||
|
|
Loading…
Reference in New Issue