fixed server side demo recording filename

This commit is contained in:
Alfred Eriksson 2008-11-11 17:22:22 +00:00
parent c80a8b9a7e
commit 66bd7b81d9

View file

@ -1227,6 +1227,8 @@ static void con_shutdown(void *result, void *user_data)
static void con_record(void *result, void *user_data)
{
char filename[512];
str_format(filename, sizeof(filename), "demos/%s.demo", console_arg_string(result, 0));
demorec_record_start(console_arg_string(result, 0), mods_net_version(), current_map, current_map_crc, "server");
}