diff options
Diffstat (limited to 'src/cmd4.cc')
-rw-r--r-- | src/cmd4.cc | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/src/cmd4.cc b/src/cmd4.cc index b2601744..f2d2b755 100644 --- a/src/cmd4.cc +++ b/src/cmd4.cc @@ -4273,16 +4273,12 @@ void do_cmd_change_movement(int i) */ void do_cmd_time() { - int day = bst(DAY, turn); - int hour = bst(HOUR, turn); int min = bst(MINUTE, turn); int full = hour * 100 + min; - char buf2[20]; - int start = 9999; int end = -9999; @@ -4299,12 +4295,10 @@ void do_cmd_time() /* Note */ strcpy(desc, "It is a strange time."); - /* Format time of the day */ - strnfmt(buf2, 20, get_day(bst(YEAR, turn) + START_YEAR)); - - /* Display current date in the Elvish calendar */ - msg_format("This is %s of the %s year of the third age.", - get_month_name(day, wizard, FALSE), buf2); + /* Display day */ + u32b days = bst(DAY, turn) + 1; + msg_format("This is the %s day of your adventure.", + get_day(days)); /* Message */ msg_format("The time is %d:%02d %s.", |