Finite sprite animations now stop at last frame, not first.
authorChristoph Sommer <mail@christoph-sommer.de>
Fri, 3 Mar 2006 22:23:29 +0000 (22:23 +0000)
committerChristoph Sommer <mail@christoph-sommer.de>
Fri, 3 Mar 2006 22:23:29 +0000 (22:23 +0000)
commit6dd8ff98068af6c053733df6bb01ba47c8eb379e
tree34acb8c4502742da8121591f1577e5683b9b5083
parente8f7edf76b317dd795fca90d64ef821eba07c142
Finite sprite animations now stop at last frame, not first.
Sprite::set_frame(int) crops frame numbers that are out of range.
Sprite::check_animation() renamed to Sprite::animation_done().

SVN-Revision: 3069
src/sprite/sprite.cpp
src/sprite/sprite.hpp
src/trigger/door.cpp
src/trigger/hatch.cpp