While perusing code in act.informative.c I noticed something in
ACMD(do_score).... Even though the # of hours can be single(one) it'll
still say hours. So I figured I'd whip up a quick fix for it... I
haven't tested it, but it should work... Actually I probably shouldn't
say that, just in case ;) Anyway, this is what I changed:
sprintf(buf + strlen(buf), "You have been playing for %d days and %d
hour%s.\r\n",
playing_time.day, playing_time.hours);
and I changed it to this. Makes it more gramatically correct.
sprintf(buf + strlen(buf), "You have been playing for %d days and %d
hour%s.\r\n",
playing_time.day, playing_time.hours, playing_time.hours != 1 ? "s" :
"");
-Phillip
Phillip Ames | Implementor of Apocalypse MUD
kirk47@juno.com | telnet://oberon.krans.com:1701
ICQ: 8778335 | AOL IM: Grathol
http://members.xoom.com/Gowron/index.html
___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST