diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-04-03 23:39:39 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-04-03 23:39:39 +0300 |
commit | c8ebcf5c2a18a37aa45253a8a63c28bbcd4b989e (patch) | |
tree | b86d8ca191c3bcf4a03aba19198316424cb08a08 /src/resources/imageset.cpp | |
parent | e998c784e0a3943a6a85be4f82c5a1b8f027b838 (diff) | |
download | manaverse-c8ebcf5c2a18a37aa45253a8a63c28bbcd4b989e.tar.gz manaverse-c8ebcf5c2a18a37aa45253a8a63c28bbcd4b989e.tar.bz2 manaverse-c8ebcf5c2a18a37aa45253a8a63c28bbcd4b989e.tar.xz manaverse-c8ebcf5c2a18a37aa45253a8a63c28bbcd4b989e.zip |
Change imageset offset work not like default offset, but as additional offset.
Diffstat (limited to 'src/resources/imageset.cpp')
-rw-r--r-- | src/resources/imageset.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/imageset.cpp b/src/resources/imageset.cpp index fa0cef349..af180b0eb 100644 --- a/src/resources/imageset.cpp +++ b/src/resources/imageset.cpp @@ -28,7 +28,10 @@ #include "utils/dtor.h" -ImageSet::ImageSet(Image *img, int width, int height, int margin, int spacing) +ImageSet::ImageSet(Image *img, int width, int height, + int margin, int spacing) : + mOffsetX(0), + mOffsetY(0) { if (img) { |