diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2008-12-08 20:58:10 +0100 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-12-08 13:48:10 -0700 |
commit | 48c3263aa2540cd895b72edb0337e0717e136e3a (patch) | |
tree | f5b93df0b4bf209e73876161c30ef5fe4a00ff3b /src/resources/action.cpp | |
parent | 81cdc7b2d880f44df6e0a6de74183f36c53836a0 (diff) | |
download | mana-48c3263aa2540cd895b72edb0337e0717e136e3a.tar.gz mana-48c3263aa2540cd895b72edb0337e0717e136e3a.tar.bz2 mana-48c3263aa2540cd895b72edb0337e0717e136e3a.tar.xz mana-48c3263aa2540cd895b72edb0337e0717e136e3a.zip |
Code reformatting
I wish I had never fallen for this weird style, and I hope removing it
will prevent others from introducing new code like this. :-)
Diffstat (limited to 'src/resources/action.cpp')
-rw-r--r-- | src/resources/action.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/resources/action.cpp b/src/resources/action.cpp index f40d3109..a017e11c 100644 --- a/src/resources/action.cpp +++ b/src/resources/action.cpp @@ -33,8 +33,7 @@ Action::~Action() delete_all(mAnimations); } -Animation* -Action::getAnimation(int direction) const +Animation *Action::getAnimation(int direction) const { Animations::const_iterator i = mAnimations.find(direction); @@ -48,8 +47,7 @@ Action::getAnimation(int direction) const return (i == mAnimations.end()) ? NULL : i->second; } -void -Action::setAnimation(int direction, Animation *animation) +void Action::setAnimation(int direction, Animation *animation) { mAnimations[direction] = animation; } |