From b109dc1e4cc50befb798e15c40e65933dbaa8310 Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Sat, 19 Jan 2013 16:45:38 +0400 Subject: Cinematic pic belongs to client state. --- src/client/main.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/client/main.c') diff --git a/src/client/main.c b/src/client/main.c index 129ac43..1006cd7 100644 --- a/src/client/main.c +++ b/src/client/main.c @@ -2378,6 +2378,8 @@ void CL_RestartFilesystem(qboolean total) CL_LoadState(LOAD_SOUNDS); CL_RegisterSounds(); CL_LoadState(LOAD_FINISH); + } else if (cls_state == ca_cinematic) { + cl.image_precache[0] = R_RegisterPic2(cl.mapname); } CL_LoadDownloadIgnores(); @@ -2426,6 +2428,8 @@ void CL_RestartRefresh(qboolean total) CL_LoadState(LOAD_MAP); CL_PrepRefresh(); CL_LoadState(LOAD_FINISH); + } else if (cls_state == ca_cinematic) { + cl.image_precache[0] = R_RegisterPic2(cl.mapname); } // switch back to original state -- cgit v1.2.3