Skip to content

Commit a2473b1

Browse files
committed
Map: remove width/height initialization from Setup
1 parent 33720ec commit a2473b1

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/game_map.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,6 @@ int Game_Map::GetMapSaveCount() {
153153
void Game_Map::Setup(std::unique_ptr<lcf::rpg::Map> map_in) {
154154
Dispose();
155155

156-
screen_width = (Player::screen_width / 16.0) * SCREEN_TILE_SIZE;
157-
screen_height = (Player::screen_height / 16.0) * SCREEN_TILE_SIZE;
158-
159156
map = std::move(map_in);
160157

161158
SetupCommon();

0 commit comments

Comments
 (0)