forked from github/server
"zauber-syntax in den cr aufnehmen" boeser bug, der zauber-block in magellan unleserlich machte
This commit is contained in:
parent
375125ae90
commit
eedb4e1ae9
|
@ -985,7 +985,7 @@ cr_reportspell(FILE * F, spell *sp, const struct locale * lang)
|
||||||
fprintf(F, "%d;level\n", sp->level);
|
fprintf(F, "%d;level\n", sp->level);
|
||||||
fprintf(F, "%d;rank\n", sp->rank);
|
fprintf(F, "%d;rank\n", sp->rank);
|
||||||
fprintf(F, "\"%s\";info\n", spell_info(sp, lang));
|
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);
|
else fputs("\"\";syntax\n", F);
|
||||||
|
|
||||||
if (sp->sptyp & PRECOMBATSPELL) fputs("\"precombat\";class\n", F);
|
if (sp->sptyp & PRECOMBATSPELL) fputs("\"precombat\";class\n", F);
|
||||||
|
|
|
@ -181,6 +181,12 @@ caddmessage(region * r, faction * f, const char *s, msg_t mtype, int level)
|
||||||
{
|
{
|
||||||
message * m = NULL;
|
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);
|
unused(level);
|
||||||
switch (mtype) {
|
switch (mtype) {
|
||||||
case MSG_INCOME:
|
case MSG_INCOME:
|
||||||
|
|
Loading…
Reference in New Issue