"zauber-syntax in den cr aufnehmen"

boeser bug, der zauber-block in magellan unleserlich machte
This commit is contained in:
Enno Rehling 2007-02-11 10:25:41 +00:00
parent 375125ae90
commit eedb4e1ae9
2 changed files with 8 additions and 2 deletions

View File

@ -985,7 +985,7 @@ cr_reportspell(FILE * F, spell *sp, const struct locale * lang)
fprintf(F, "%d;level\n", sp->level);
fprintf(F, "%d;rank\n", sp->rank);
fprintf(F, "\"%s\";info\n", spell_info(sp, lang));
if (sp->syntax) fprintf(F, "\"%s\";syntax\n", sp->syntax);
if (sp->parameter) fprintf(F, "\"%s\";syntax\n", sp->parameter);
else fputs("\"\";syntax\n", F);
if (sp->sptyp & PRECOMBATSPELL) fputs("\"precombat\";class\n", F);

View File

@ -181,6 +181,12 @@ caddmessage(region * r, faction * f, const char *s, msg_t mtype, int level)
{
message * m = NULL;
#define LOG_ENGLISH
#ifdef LOG_ENGLISH
if (f && f->locale!=default_locale) {
log_warning(("message for locale \"%s\": %s\n", locale_name(f->locale), s));
}
#endif
unused(level);
switch (mtype) {
case MSG_INCOME: