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:
parent
a57ce8ebcd
commit
609f79245b
1 changed files with 7 additions and 1 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue