mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-18 17:03:25 +00:00
remove code made dead in 84556b11
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. https://github.com/wesnoth/wesnoth/commit/84556b11
This commit is contained in:
parent
d1a4a52f40
commit
678d43a056
@ -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.)
|
||||
|
Loading…
x
Reference in New Issue
Block a user