sourencho / ungroup_game

A multiplayer game about temporary alliances written with a custom engine in C++ and SFML
13 stars 1 forks source link

Should NOT be clearing replay cache for ticks that we might replay in the future #186

Closed sourencho closed 4 years ago

sourencho commented 4 years ago

We shouldn't be clearing the entire cache of ticks to inputs here. I think we should only clear until server_tick because those are the ticks that are guaranteed to never be replayed in the future. https://github.com/SourenP/ungroup_game/blob/b80a42646c9c70636c39c72a6b546e9db65fae95/src/client/systems/ClientGameController.cpp#L170