diff options
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; |