diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-06-06 00:04:33 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-06-06 00:04:33 +0300 |
commit | 7b155f111daf5d7ae477b16d0f0789b1113bea74 (patch) | |
tree | 2d2711ab1f9daed793171383af1a7e1fa6ff737c /src/resources/spritedef.h | |
parent | c3afff20d4989ab2835545715bbe67e5b5d9b353 (diff) | |
download | manaverse-7b155f111daf5d7ae477b16d0f0789b1113bea74.tar.gz manaverse-7b155f111daf5d7ae477b16d0f0789b1113bea74.tar.bz2 manaverse-7b155f111daf5d7ae477b16d0f0789b1113bea74.tar.xz manaverse-7b155f111daf5d7ae477b16d0f0789b1113bea74.zip |
Fix some issues after auto checking.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r-- | src/resources/spritedef.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h index b0cb5f1b6..461e60230 100644 --- a/src/resources/spritedef.h +++ b/src/resources/spritedef.h @@ -44,10 +44,9 @@ struct SpriteReference sprite(""), variant(0) {} - SpriteReference(std::string sprite0, int variant0) + SpriteReference(std::string sprite0, int variant0) : + sprite(sprite0), variant(variant0) { - sprite = sprite0; - variant = variant0; } std::string sprite; |