From f60ec33f2a04386e39921c18dd5e2f5766b1806c Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 10 Feb 2007 10:20:18 +0000 Subject: [PATCH] http://eressea.upb.de/mantis/view.php?id=1052 "zauber-syntax in den cr aufnehmen" --- src/common/gamecode/creport.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/common/gamecode/creport.c b/src/common/gamecode/creport.c index 1b3ffcdff..0eaef9945 100644 --- a/src/common/gamecode/creport.c +++ b/src/common/gamecode/creport.c @@ -985,6 +985,8 @@ 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); + else fputs(F, "\"\";syntax\n", F); if (sp->sptyp & PRECOMBATSPELL) fputs("\"precombat\";class\n", F); else if (sp->sptyp & COMBATSPELL) fputs("\"combat\";class\n", F);