summaryrefslogtreecommitdiff
path: root/src/graphics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/graphics.h')
-rw-r--r--src/graphics.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/graphics.h b/src/graphics.h
index b9d4cc53b..12a6c3a77 100644
--- a/src/graphics.h
+++ b/src/graphics.h
@@ -61,7 +61,10 @@ class ImageRect final
{
public:
ImageRect()
- { }
+ {
+ for (int f = 0; f < 9; f ++)
+ grid[f] = nullptr;
+ }
A_DELETE_COPY(ImageRect)