diff options
author | Andrey Nazarov <skuller@skuller.net> | 2013-01-19 16:45:38 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2013-01-19 16:45:38 +0400 |
commit | b109dc1e4cc50befb798e15c40e65933dbaa8310 (patch) | |
tree | 7515e898526abb5990032fe957a18139a1bf942a /src/client/main.c | |
parent | 05d35f770058dadc174db07717c16779c336560a (diff) |
Cinematic pic belongs to client state.
Diffstat (limited to 'src/client/main.c')
-rw-r--r-- | src/client/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
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 |