forgot some code

This commit is contained in:
Alfred Eriksson 2008-11-11 17:24:39 +00:00
parent 66bd7b81d9
commit 1d3971f217

View file

@ -1229,7 +1229,7 @@ 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");
demorec_record_start(filename, mods_net_version(), current_map, current_map_crc, "server");
}
static void con_stoprecord(void *result, void *user_data)