From f2a870b97ca9dcda1bd0d4bbe07b2b9379aa0a53 Mon Sep 17 00:00:00 2001 From: Charles Dang Date: Fri, 20 Apr 2018 10:23:43 +1100 Subject: [PATCH] Game Display: removed unused variable No idea what this did. It was added 11 years ago (9f11735f324bae8444ced0a801e40bbc340f3f4b) but became unused at some point. --- src/game_display.cpp | 1 - src/game_display.hpp | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/game_display.cpp b/src/game_display.cpp index d7c7b8255b06..7bbeaf5f27a8 100644 --- a/src/game_display.cpp +++ b/src/game_display.cpp @@ -64,7 +64,6 @@ game_display::game_display(game_board& board, std::weak_ptr wb, , hex_def_fl_labels_() , route_() , displayedUnitHex_() - , sidebarScaling_(1.0) , first_turn_(true) , in_game_(false) , chat_man_(new display_chat_manager(*this)) diff --git a/src/game_display.hpp b/src/game_display.hpp index 20d17b558949..42577a9325a7 100644 --- a/src/game_display.hpp +++ b/src/game_display.hpp @@ -218,8 +218,6 @@ class game_display : public display map_location displayedUnitHex_; - double sidebarScaling_; - bool first_turn_, in_game_; const std::unique_ptr chat_man_;