Removed the variable limit setting since it's never used and instead just have WALL_PATH_LIMIT.
This commit is contained in:
parent
9abb39a3bf
commit
eb0ca38e30
19 changed files with 50 additions and 58 deletions
2
gui.cpp
2
gui.cpp
|
@ -36,7 +36,7 @@ GUI::GUI(DinkyECS::World &world, Map& game_map) :
|
|||
$log({{"Welcome to the game!"}}),
|
||||
$status_ui(0, 0, SCREEN_WIDTH, SCREEN_HEIGHT),
|
||||
$map_view(GAME_MAP_POS, 0, 0, 0, true),
|
||||
$lights(game_map.width(), game_map.height(), game_map.limit()),
|
||||
$lights(game_map.width(), game_map.height()),
|
||||
$world(world),
|
||||
$sounds("./assets"),
|
||||
$renderer()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue