aboutsummaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
Diffstat (limited to 'src/client')
-rw-r--r--src/client/tile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/client/tile.h b/src/client/tile.h
index aadc3e156..cfdcf30bd 100644
--- a/src/client/tile.h
+++ b/src/client/tile.h
@@ -26,6 +26,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include <string>
#include <vector>
#include <SMaterial.h>
+#include <memory>
#include "util/numeric.h"
class IGameDef;
@@ -284,7 +285,7 @@ struct TileLayer
//! If true, the tile has its own color.
bool has_color = false;
- std::vector<FrameSpec> frames;
+ std::shared_ptr<std::vector<FrameSpec>> frames = nullptr;
/*!
* The color of the tile, or if the tile does not own