]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
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 a309b2e49288b9e9999e847d6d4c54691cdc9536..998f088f9dba532e6c1fc2cb78d095343191730a 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 4852da38f29fd41ec163ef72390f3210d35acde3..6b0cb342425499b67093ae5ea493216b51430274 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);