diff options
Diffstat (limited to 'src/resources/imageset.cpp')
-rw-r--r-- | src/resources/imageset.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/imageset.cpp b/src/resources/imageset.cpp index 164e682a4..5f62af574 100644 --- a/src/resources/imageset.cpp +++ b/src/resources/imageset.cpp @@ -49,7 +49,9 @@ ImageSet::ImageSet(Image *const img, const int width, const int height, for (int x = margin; x + width <= img->getWidth() - margin; x += wAdd) { - mImages.push_back(img->getSubImage(x, y, width, height)); + Image *const image = img->getSubImage(x, y, width, height); + image->setNotCount(true); + mImages.push_back(image); } } } |