Opened 7 years ago

#4660 new defect

Cinema path continues after replay ended

Reported by: elexis Owned by:
Priority: Should Have Milestone: Backlog
Component: Core engine Keywords:
Cc: Patch:

Description

As of r19860 (almost a22), cinematic paths are still continued if a replay has ended (and a path was active when it ended).

This will probably be fixed by syncing the graphical cinema manager with the simulation cinema manager (so that the camera path progression is linked to simulation speed and correctly impacted by network lag).

However, if the path ended, the session GUI should become visible again. The equivalent case for network disconnect was fixed by r19860, but it must be fixed for replays too. We could subscribe to the "ReplayFinished" GUI message. But then we must ensure that we definitely receive it (the message is only sent to the top page, so if we had some other page like a message box open, we don't receive that message at all!).

It would be nice to detect the end of the simulation, so that it would become agnostic of networking and replay checks, but I don't think it's possible to detect that (because in SP and for network hosts, the game can end if and only if the player decides to end it, and then the Game is destroyed entirely).

Change History (0)

Note: See TracTickets for help on using tickets.