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
|
||||
|
||||
void
|
||||
spskill(const struct locale * lang, const struct unit * u, skill_t sk, int *dh,
|
||||
boolean days)
|
||||
spskill(const struct locale * lang, const struct unit * u, skill_t sk, int *dh, int days)
|
||||
{
|
||||
char * sbuf = buf+strlen(buf);
|
||||
int i, effsk;
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
# include <dmalloc.h>
|
||||
#endif
|
||||
|
||||
#if defined(__GCC__)
|
||||
#if defined(__GNUC__)
|
||||
# include <stdbool.h>
|
||||
# define HAS_BOOLEAN
|
||||
# define boolean bool
|
||||
|
|
|
@ -1404,7 +1404,7 @@ setminmax(void)
|
|||
MINY -= 20;
|
||||
}
|
||||
|
||||
extern boolean quiet;
|
||||
extern int quiet;
|
||||
|
||||
extern char * g_reportdir;
|
||||
extern char * g_datadir;
|
||||
|
@ -1503,7 +1503,9 @@ main(int argc, char *argv[])
|
|||
maxregions = atoi(argv[++i]);
|
||||
maxregions = (maxregions*81+80) / 81;
|
||||
break;
|
||||
case 'q': quiet = true; break;
|
||||
case 'q':
|
||||
quiet = 1;
|
||||
break;
|
||||
case 'l':
|
||||
logging = true;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue