stop recording on map load

This commit is contained in:
Magnus Auvinen 2009-01-21 21:21:54 +00:00
parent fe71008a9b
commit 29ca9dfb3a

View file

@ -784,6 +784,9 @@ static const char *client_load_map(const char *name, const char *filename, int w
return errormsg;
}
// stop demo recording if we loaded a new map
demorec_record_stop();
dbg_msg("client", "loaded map '%s'", filename);
recived_snapshots = 0;
map_set(df);