diff options
author | Bardur Arantsson <bardur@scientician.net> | 2010-01-10 19:11:13 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2010-01-10 19:32:02 +0100 |
commit | fc7620691b3dff4b502042d889fd75bb85170c16 (patch) | |
tree | 372f8a18d127d06127b51bb3601ffdf97c8bbff8 /src/cmd4.c | |
parent | 3d46b09fe21dfdea43b0e4e224363ecb67a0fb9b (diff) |
Refactor version string construction to a function.
Diffstat (limited to 'src/cmd4.c')
-rw-r--r-- | src/cmd4.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2937,8 +2937,8 @@ void do_cmd_version(void) call_lua("get_module_info", "(s,d)", "s", "author", 2, &email); /* Silly message */ - msg_format("You are playing %s %d.%d.%d%s made by %s (%s).", - game_module, VERSION_MAJOR, VERSION_MINOR, VERSION_PATCH, IS_CVS, + msg_format("You are playing %s made by %s (%s).", + get_version_string(), author, email); call_lua("patchs_display", "()", ""); } |