diff options
author | Ira Rice <irarice@gmail.com> | 2009-03-26 19:09:31 -0600 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-03-26 19:09:31 -0600 |
commit | 1a9d402bec2fd8166ce50e30a71ba0cf2f27281a (patch) | |
tree | e012433f561406ebd67d685f205c86c1c13681b3 /src/resources/action.cpp | |
parent | 2ec46b9a6e5ca1beb043da00cf2bb9d34722ec72 (diff) | |
download | mana-client-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.tar.gz mana-client-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.tar.bz2 mana-client-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.tar.xz mana-client-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.zip |
Some code style commits influenced by TMW commit
1715d0afe44a282a356ca88e47c92ec556f094dd
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/resources/action.cpp')
-rw-r--r-- | src/resources/action.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/resources/action.cpp b/src/resources/action.cpp index 67acf1b1..27369def 100644 --- a/src/resources/action.cpp +++ b/src/resources/action.cpp @@ -41,9 +41,7 @@ Animation *Action::getAnimation(int direction) const // When the given direction is not available, return the first one. // (either DEFAULT, or more usually DOWN). if (i == mAnimations.end()) - { i = mAnimations.begin(); - } return (i == mAnimations.end()) ? NULL : i->second; } |