Mercurial > fife-parpg
diff engine/core/video/animation.cpp @ 482:16c2b3ee59ce
* Merged the view performance branch back into trunk. fixes[ticket:419]
author | helios2000@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Thu, 29 Apr 2010 13:51:45 +0000 |
parents | 64738befdf3b |
children | e3140f01749d |
line wrap: on
line diff
--- a/engine/core/video/animation.cpp Wed Apr 28 21:33:11 2010 +0000 +++ b/engine/core/video/animation.cpp Thu Apr 29 13:51:45 2010 +0000 @@ -82,7 +82,7 @@ bool Animation::isValidIndex(int index) const{ int size = m_frames.size(); return size > 0 && index >= 0 && index < size; - } + } Image* Animation::getFrame(int index) { if (isValidIndex(index)) {