diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-04-29 18:30:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-04-29 18:30:46 +0300 |
commit | b3f3ad6d71bf973974da485d08d5acac5db15ba8 (patch) | |
tree | bead963da81580c6ab7716a40b48d149fe6d8a45 /src/resources/atlas | |
parent | 1dca2012e1eb6083fc71c573c148e4c197a2bfad (diff) | |
download | manaplus-b3f3ad6d71bf973974da485d08d5acac5db15ba8.tar.gz manaplus-b3f3ad6d71bf973974da485d08d5acac5db15ba8.tar.bz2 manaplus-b3f3ad6d71bf973974da485d08d5acac5db15ba8.tar.xz manaplus-b3f3ad6d71bf973974da485d08d5acac5db15ba8.zip |
Add name into AtlasItem memory object.
Diffstat (limited to 'src/resources/atlas')
-rw-r--r-- | src/resources/atlas/atlasitem.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/resources/atlas/atlasitem.h b/src/resources/atlas/atlasitem.h index a5d4d9116..835d7faa8 100644 --- a/src/resources/atlas/atlasitem.h +++ b/src/resources/atlas/atlasitem.h @@ -50,6 +50,9 @@ struct AtlasItem final : public MemoryCounter // +++ here need print, but not add to sum size of image } + std::string getCounterName() const override + { return name; } + Image *image; std::string name; int x; |