Remove a redundant getter
This commit is contained in:
parent
2d01fddd26
commit
d6f922f990
3 changed files with 1 additions and 8 deletions
|
@ -59,7 +59,7 @@ level_result::type campaign_controller::playsingle_scenario(end_level_data &end_
|
|||
|
||||
playsingle_controller playcontroller(starting_point, state_);
|
||||
|
||||
LOG_NG << "created objects... " << (SDL_GetTicks() - playcontroller.get_ticks());
|
||||
LOG_NG << "created objects... " << (SDL_GetTicks() - playcontroller.ticks());
|
||||
if(is_replay_) {
|
||||
playcontroller.enable_replay(is_unit_test_);
|
||||
}
|
||||
|
|
|
@ -1065,11 +1065,6 @@ game_events::wml_event_pump& play_controller::pump()
|
|||
return gamestate().events_manager_->pump();
|
||||
}
|
||||
|
||||
int play_controller::get_ticks() const
|
||||
{
|
||||
return ticks_;
|
||||
}
|
||||
|
||||
soundsource::manager* play_controller::get_soundsource_man()
|
||||
{
|
||||
return soundsources_manager_.get();
|
||||
|
|
|
@ -226,8 +226,6 @@ public:
|
|||
|
||||
game_events::wml_event_pump& pump();
|
||||
|
||||
int get_ticks() const;
|
||||
|
||||
virtual soundsource::manager* get_soundsource_man() override;
|
||||
virtual plugins_context* get_plugins_context() override;
|
||||
hotkey::command_executor* get_hotkey_command_executor() override;
|
||||
|
|
Loading…
Add table
Reference in a new issue