fix two more fs_gamedir mixups (loading saved games should now work, as well as video...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 8 Apr 2003 08:11:45 +0000 (08:11 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Tue, 8 Apr 2003 08:11:45 +0000 (08:11 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@2935 d7cf8633-e32d-0410-b094-e92efae38249

cl_video.c
host_cmd.c

index a309b2e..998f088 100644 (file)
@@ -193,7 +193,7 @@ static void CL_PlayVideo_f(void)
                return;
        }
 
-       sprintf(name, "%s/video/%s.dpv", fs_gamedir, Cmd_Argv(1));
+       sprintf(name, "video/%s.dpv", Cmd_Argv(1));
        CL_VideoStart(name);
 }
 
index 4852da3..6b0cb34 100644 (file)
@@ -486,7 +486,7 @@ void Host_Loadgame_f (void)
                return;
        }
 
-       sprintf (sv_loadgame, "%s/%s", fs_gamedir, Cmd_Argv(1));
+       strcpy (sv_loadgame, Cmd_Argv(1));
        FS_DefaultExtension (sv_loadgame, ".sav");
 
        Con_Printf ("Loading game from %s...\n", sv_loadgame);