forked from github/server
bugfix boolean in config.h und folgefehler
This commit is contained in:
parent
9060045aea
commit
5d87d1f723
|
@ -599,8 +599,7 @@ bufunit_ugroupleader(const faction * f, const unit * u, int indent, int mode)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void
|
void
|
||||||
spskill(const struct locale * lang, const struct unit * u, skill_t sk, int *dh,
|
spskill(const struct locale * lang, const struct unit * u, skill_t sk, int *dh, int days)
|
||||||
boolean days)
|
|
||||||
{
|
{
|
||||||
char * sbuf = buf+strlen(buf);
|
char * sbuf = buf+strlen(buf);
|
||||||
int i, effsk;
|
int i, effsk;
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
# include <dmalloc.h>
|
# include <dmalloc.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__GCC__)
|
#if defined(__GNUC__)
|
||||||
# include <stdbool.h>
|
# include <stdbool.h>
|
||||||
# define HAS_BOOLEAN
|
# define HAS_BOOLEAN
|
||||||
# define boolean bool
|
# define boolean bool
|
||||||
|
|
|
@ -1404,7 +1404,7 @@ setminmax(void)
|
||||||
MINY -= 20;
|
MINY -= 20;
|
||||||
}
|
}
|
||||||
|
|
||||||
extern boolean quiet;
|
extern int quiet;
|
||||||
|
|
||||||
extern char * g_reportdir;
|
extern char * g_reportdir;
|
||||||
extern char * g_datadir;
|
extern char * g_datadir;
|
||||||
|
@ -1503,7 +1503,9 @@ main(int argc, char *argv[])
|
||||||
maxregions = atoi(argv[++i]);
|
maxregions = atoi(argv[++i]);
|
||||||
maxregions = (maxregions*81+80) / 81;
|
maxregions = (maxregions*81+80) / 81;
|
||||||
break;
|
break;
|
||||||
case 'q': quiet = true; break;
|
case 'q':
|
||||||
|
quiet = 1;
|
||||||
|
break;
|
||||||
case 'l':
|
case 'l':
|
||||||
logging = true;
|
logging = true;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue