fix ec_flags parsing (irongolem, etc)

This commit is contained in:
Enno Rehling 2018-05-10 21:05:51 +02:00
parent 85cf8da383
commit 5de2a9e2ae
2 changed files with 8 additions and 8 deletions

View File

@ -310,7 +310,7 @@ static race *rc_find_i(const char *name)
for (i = 0; rc_depr[i]; i += 2) {
if (strcmp(name, rc_depr[i]) == 0) {
rc = rc_find_i(rc_depr[i + 1]);
log_warning("a reference was made to the retired race '%s', returning '%s'.", name, rc->_name);
log_info("a reference was made to the retired race '%s', returning '%s'.", name, rc->_name);
break;
}
}

View File

@ -236,13 +236,13 @@ extern "C" {
#define RCF_DEFAULT (RCF_NOSTEAL|RCF_CANSAIL|RCF_NOLEARN)
/* Economic flags */
#define ECF_GIVEPERSON (1<<2) /* <20>bergibt Personen */
#define ECF_GIVEUNIT (1<<3) /* Einheiten an andere Partei <20>bergeben */
#define ECF_GETITEM (1<<4) /* nimmt Gegenst<73>nde an */
#define ECF_REC_ETHEREAL (1<<7) /* Rekrutiert aus dem Nichts */
#define ECF_REC_UNLIMITED (1<<8) /* Rekrutiert ohne Limit */
#define ECF_STONEGOLEM (1<<9) /* race gets stonegolem properties */
#define ECF_IRONGOLEM (1<<10) /* race gets irongolem properties */
#define ECF_GIVEPERSON (1<<0) /* <20>bergibt Personen */
#define ECF_GIVEUNIT (1<<1) /* Einheiten an andere Partei <20>bergeben */
#define ECF_GETITEM (1<<2) /* nimmt Gegenst<73>nde an */
#define ECF_REC_ETHEREAL (1<<3) /* Rekrutiert aus dem Nichts */
#define ECF_REC_UNLIMITED (1<<4) /* Rekrutiert ohne Limit */
#define ECF_STONEGOLEM (1<<5) /* race gets stonegolem properties */
#define ECF_IRONGOLEM (1<<6) /* race gets irongolem properties */
/* Battle-Flags */
#define BF_EQUIPMENT (1<<0) /* Kann Ausr<73>stung benutzen */