summaryrefslogtreecommitdiff
path: root/src/resources/spritedef.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-03-16 14:28:45 +0200
committerAndrei Karas <akaras@inbox.ru>2011-03-16 14:28:45 +0200
commit59dc0bffc0f754de8daed29bce3a48e90ea6b4fb (patch)
tree7cd423679a60e25b29318d7a87f367729f8d5fdf /src/resources/spritedef.h
parentfbf665912933d10d9132b17802949149d9094fdd (diff)
downloadmanaverse-59dc0bffc0f754de8daed29bce3a48e90ea6b4fb.tar.gz
manaverse-59dc0bffc0f754de8daed29bce3a48e90ea6b4fb.tar.bz2
manaverse-59dc0bffc0f754de8daed29bce3a48e90ea6b4fb.tar.xz
manaverse-59dc0bffc0f754de8daed29bce3a48e90ea6b4fb.zip
Add checks and fix some code style.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r--src/resources/spritedef.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h
index 5889bdd94..1ad74d744 100644
--- a/src/resources/spritedef.h
+++ b/src/resources/spritedef.h
@@ -43,7 +43,10 @@ struct SpriteReference
{}
SpriteReference(std::string sprite, int variant)
- { this->sprite = sprite; this->variant = variant; }
+ {
+ this->sprite = sprite;
+ this->variant = variant;
+ }
std::string sprite;
int variant;