Skip to content

Commit

Permalink
Fixed extraneous data being fed to format string
Browse files Browse the repository at this point in the history
  • Loading branch information
luciensadi committed Dec 12, 2023
1 parent 3176548 commit df2dc98
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/chargen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,10 +139,14 @@ void ccr_race_menu(struct descriptor_data *d) {
"\r\n Special (has prerequisites):"
"\r\n [*] Prestige Race (costs %d - %d system points)"
"\r\n"
#endif
"\r\n ?# (for help on a particular race), ex: ?A"
"\r\n"
"\r\nRace: ", MIN_PRESTIGE_RACE_COST, MAX_PRESTIGE_RACE_COST);
#else
"\r\n ?# (for help on a particular race), ex: ?A"
"\r\n"
"\r\nRace: ");
#endif
SEND_TO_Q(buf, d);
d->ccr.mode = CCR_RACE;
}
Expand Down

0 comments on commit df2dc98

Please sign in to comment.