forked from github/server
fix vs bool - int conversion warning
This commit is contained in:
parent
c63b8a2028
commit
65eab060a0
|
@ -1057,7 +1057,7 @@ int rule_give(void)
|
|||
return config_get_int("rules.give.flags", GIVE_DEFAULT);
|
||||
}
|
||||
|
||||
bool markets_module(void)
|
||||
int markets_module(void)
|
||||
{
|
||||
return config_get_int("modules.markets", 0);
|
||||
}
|
||||
|
|
|
@ -135,7 +135,7 @@ struct param;
|
|||
#define GUARD_ALL 0xFFFF
|
||||
|
||||
int maxworkingpeasants(const struct region *r);
|
||||
bool markets_module(void);
|
||||
int markets_module(void);
|
||||
int wage(const struct region *r, const struct faction *f,
|
||||
const struct race *rc, int in_turn);
|
||||
|
||||
|
|
Loading…
Reference in New Issue