aboutsummaryrefslogtreecommitdiff
path: root/src/mapsector.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mapsector.h')
-rw-r--r--src/mapsector.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mapsector.h b/src/mapsector.h
index ffd4cdd1d..04b1aa6be 100644
--- a/src/mapsector.h
+++ b/src/mapsector.h
@@ -58,6 +58,9 @@ public:
void deleteBlock(MapBlock *block);
+ // Remove a block from the map and the sector without deleting it
+ void detachBlock(MapBlock *block);
+
void getBlocks(MapBlockVect &dest);
bool empty() const { return m_blocks.empty(); }