We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 23de8b3 commit 9d78c31Copy full SHA for 9d78c31
1 file changed
src/map/utils/mapsector.hpp
@@ -25,7 +25,6 @@ struct Floor {
25
}
26
27
void setTile(uint16_t x, uint16_t y, std::shared_ptr<Tile> tile) {
28
- std::unique_lock<std::shared_mutex> ul(mutex);
29
tiles[x & SECTOR_MASK][y & SECTOR_MASK].first = std::move(tile);
30
31
@@ -35,7 +34,6 @@ struct Floor {
35
34
36
37
void setTileCache(uint16_t x, uint16_t y, const std::shared_ptr<BasicTile> &newTile) {
38
39
tiles[x & SECTOR_MASK][y & SECTOR_MASK].second = newTile;
40
41
0 commit comments