summaryrefslogtreecommitdiff
path: root/src/resources/animation.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-22 17:28:21 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-22 17:28:21 +0300
commit9a1011a40d1c014d075d5a4f95be13dd74c361c4 (patch)
tree3db41fbfdef85e175f73bdc50bbee6c0a8b4921d /src/resources/animation.cpp
parentafb249acef3b8c589cc2bb54978514d831716dbd (diff)
downloadmanaverse-9a1011a40d1c014d075d5a4f95be13dd74c361c4.tar.gz
manaverse-9a1011a40d1c014d075d5a4f95be13dd74c361c4.tar.bz2
manaverse-9a1011a40d1c014d075d5a4f95be13dd74c361c4.tar.xz
manaverse-9a1011a40d1c014d075d5a4f95be13dd74c361c4.zip
Fix code style.
Diffstat (limited to 'src/resources/animation.cpp')
-rw-r--r--src/resources/animation.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/animation.cpp b/src/resources/animation.cpp
index 49751d2fa..10b017cd1 100644
--- a/src/resources/animation.cpp
+++ b/src/resources/animation.cpp
@@ -32,8 +32,8 @@ Animation::Animation():
void Animation::addFrame(Image *image, int delay, int offsetX, int offsetY,
int rand)
{
- Frame frame = { image, delay, offsetX, offsetY,
- rand, Frame::ANIMATION, "" };
+ Frame frame
+ = { image, delay, offsetX, offsetY, rand, Frame::ANIMATION, "" };
mFrames.push_back(frame);
mDuration += delay;
}