mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-12 03:45:51 -05:00
Fix tileset change not updating border
This commit is contained in:
@@ -76,6 +76,10 @@ bool Map::borderBlockChanged(int i, const Blockdata &cache) {
|
||||
return layout->border.at(i) != cache.at(i);
|
||||
}
|
||||
|
||||
void Map::clearBorderCache() {
|
||||
layout->cached_border.clear();
|
||||
}
|
||||
|
||||
void Map::cacheBorder() {
|
||||
layout->cached_border.clear();
|
||||
for (const auto &block : layout->border)
|
||||
|
||||
Reference in New Issue
Block a user