diff options
| author | ilotterytea <iltsu@alright.party> | 2025-02-01 23:35:25 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-02-01 23:35:25 +0500 |
| commit | 38637328ef7627d495a49312e67c9ec363cc450e (patch) | |
| tree | 85bf3f3183ea8a9d26d8e203e10a51d8fc33930a /src/floor.hpp | |
| parent | a3ecc099aa0048ad0068a41c3e20cd3c463e09f4 (diff) | |
fix: tiles were only removed on the 1st layer
Diffstat (limited to 'src/floor.hpp')
| -rw-r--r-- | src/floor.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/floor.hpp b/src/floor.hpp index dcb9fa7..4236166 100644 --- a/src/floor.hpp +++ b/src/floor.hpp @@ -33,7 +33,7 @@ namespace silly::editor { void render(sf::RenderWindow &window) const; void place_tile(std::shared_ptr<TilesetTile> &tile, const sf::Vector2i &position, const float &rotation); - void remove_tile(const sf::Vector2i &position); + void remove_tile(TilesetTileType type, const sf::Vector2i &position); const int get_width() const; const int get_height() const; |
