Remove some unused variables.
This commit is contained in:
parent
8b61a4fad8
commit
fe5f7673ea
2 changed files with 1 additions and 2 deletions
2
gui.cpp
2
gui.cpp
|
@ -77,7 +77,7 @@ GUI::GUI() : $game_map(GAME_MAP_X, GAME_MAP_Y),
|
|||
void GUI::create_renderer() {
|
||||
auto player = $world.get<Player>();
|
||||
|
||||
$map_view = Renderer([&, player] {
|
||||
$map_view = Renderer([&] {
|
||||
System::draw_map($world, $game_map, $canvas, VIEW_PORT_X, VIEW_PORT_Y);
|
||||
return canvas($canvas);
|
||||
});
|
||||
|
|
1
gui.hpp
1
gui.hpp
|
@ -38,7 +38,6 @@ class GUI {
|
|||
Map $game_map;
|
||||
sf::SoundBuffer $hit_buf;
|
||||
sf::Sound $hit_sound;
|
||||
bool $show_paths = false;
|
||||
string $status_text = "NOT DEAD";
|
||||
Component $document;
|
||||
Component $map_view;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue