forked from github/server
fieser fehler, relativ alt. planes mehrfach defined (weil im header nicht extern)
This commit is contained in:
parent
763261092d
commit
5f0ba5c2a0
|
@ -35,6 +35,8 @@
|
|||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
struct plane *planes;
|
||||
|
||||
plane *
|
||||
getplane(const region *r)
|
||||
{
|
||||
|
|
|
@ -57,12 +57,12 @@ typedef struct plane {
|
|||
struct attrib *attribs;
|
||||
} plane;
|
||||
|
||||
struct plane *planes;
|
||||
extern struct plane *planes;
|
||||
|
||||
struct plane *getplane(const struct region *r);
|
||||
struct plane *findplane(int x, int y);
|
||||
void init_planes(void);
|
||||
int getplaneid(const struct region *r);
|
||||
void init_planes(void);
|
||||
int getplaneid(const struct region *r);
|
||||
struct plane * getplanebyid(int id);
|
||||
int region_x(const struct region *r, const struct faction *f);
|
||||
int region_y(const struct region *r, const struct faction *f);
|
||||
|
|
Loading…
Reference in New Issue