forked from github/server
missing struct declarations in curse.h
remove config.h from spells and curses.
This commit is contained in:
parent
b24f8b2839
commit
d1d1bee8f6
7 changed files with 3 additions and 7 deletions
|
@ -30,6 +30,8 @@ extern "C" {
|
|||
struct curse_type;
|
||||
struct gamedata;
|
||||
struct storage;
|
||||
struct attrib;
|
||||
struct faction;
|
||||
|
||||
/* Sprueche in der struct region und auf Einheiten, Schiffen oder Burgen
|
||||
* (struct attribute)
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
*/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "buildingcurse.h"
|
||||
|
||||
/* kernel includes */
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include <kernel/curse.h>
|
||||
#include <kernel/messages.h>
|
||||
#include <util/language.h>
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include <kernel/curse.h>
|
||||
#include <kernel/building.h>
|
||||
#include <kernel/faction.h>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
*/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "regioncurse.h"
|
||||
#include "magic.h"
|
||||
|
||||
|
@ -50,7 +49,7 @@ static message *cinfo_cursed_by_the_gods(const void *obj, objtype_t typ,
|
|||
unused_arg(self);
|
||||
assert(typ == TYP_REGION);
|
||||
|
||||
if (fval(r->terrain, SEA_REGION)) {
|
||||
if (r->terrain->flags & SEA_REGION) {
|
||||
return msg_message("curseinfo::godcurseocean", "id", c->no);
|
||||
}
|
||||
return msg_message("curseinfo::godcurse", "id", c->no);
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
*/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "shipcurse.h"
|
||||
|
||||
/* kernel includes */
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
*/
|
||||
|
||||
#include <platform.h>
|
||||
#include <kernel/config.h>
|
||||
#include "unitcurse.h"
|
||||
|
||||
/* kernel includes */
|
||||
|
|
Loading…
Reference in a new issue