Skip to content

Commit

Permalink
remove code made dead in 84556b1
Browse files Browse the repository at this point in the history
After this commit, the replay_controller constructs
tod_manager_start_ using the same parameters as the play_controller
constructs tod_manager_. So the copy construction after this is
superfluous.

84556b11
  • Loading branch information
cbeck88 committed Jun 13, 2014
1 parent d1a4a52 commit 678d43a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/replay_controller.cpp
Expand Up @@ -120,8 +120,6 @@ replay_controller::replay_controller(const config& level,
show_everything_(false),
show_team_(state_of_game.classification().campaign_type == game_classification::MULTIPLAYER ? 0 : 1)
{
tod_manager_start_ = tod_manager_;

// Our parent class correctly detects that we are loading a game. However,
// we are not loading mid-game, so from here on, treat this as not loading
// a game. (Allows turn_1 et al. events to fire at the correct time.)
Expand Down

0 comments on commit 678d43a

Please sign in to comment.