summaryrefslogtreecommitdiff
path: root/src/bitmap_type.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bitmap_type.h')
-rw-r--r--src/bitmap_type.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/bitmap_type.h b/src/bitmap_type.h
index 11a419093..3c9c4afbd 100644
--- a/src/bitmap_type.h
+++ b/src/bitmap_type.h
@@ -34,6 +34,14 @@ public:
this->h = 0;
}
+ BitmapTileArea(const TileArea &ta)
+ {
+ this->tile = ta.tile;
+ this->w = ta.w;
+ this->h = ta.h;
+ this->data.resize(Index(this->w, this->h));
+ }
+
/**
* Reset and clear the BitmapTileArea.
*/