1
0
Fork 0
forked from fte/fteqw

Fixed my own bug commit, q2 support wont stuff up when the .cin is missing now.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1881 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2006-01-16 14:14:06 +00:00
parent a57ce8ebcd
commit 609f79245b

View file

@ -486,17 +486,23 @@ qboolean CIN_PlayCinematic (char *arg)
cin.cinematicframe = 0;
cin.cinematic_file = FS_OpenVFS(arg, "rb", FS_GAME);
if (!cin.cinematic_file)
{
_snprintf (name, sizeof(name), "video/%s", arg);
cin.cinematic_file = FS_OpenVFS(name, "rb", FS_GAME);
}
if (!cin.cinematic_file)
{
// Com_Error (ERR_DROP, "Cinematic %s not found.\n", name);
CIN_FinishCinematic ();
cin.cinematictime = 0; // done
return false;
Con_Printf("^1Cinematic %s not found.\n", name);
return true;
}
SCR_EndLoadingPlaque ();