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);