map listing and demo listing menu

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@1523 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
driAn
2007-12-29 23:45:35 +00:00
parent c73dea3d5a
commit e31e442f9e
4 changed files with 128 additions and 84 deletions
+2 -1
View File
@@ -644,7 +644,8 @@ void receivefile(uchar *data, int len)
{
case SV_SENDDEMO:
{
s_sprintfd(fname)("%d.dmo", lastmillis);
s_sprintfd(fname)("demos/%d.dmo", lastmillis);
path(fname);
FILE *demo = openfile(fname, "wb");
if(!demo) return;
conoutf("received demo \"%s\"", fname);