PerlGameDev / SDL

Rehashing the old perl SDL binding on cpan.org
http://search.cpan.org/dist/SDL
GNU General Public License v2.0
81 stars 29 forks source link

Minor bugfixes in SDLx::Sprite::Animated. Fixes #278 #279

Closed ghost closed 6 years ago

ghost commented 9 years ago

Not exactly sure which branch to submit to, experimental seems to have a lot of commits and conflicts there? Sorry If I messed something up.

Basically just fixes for the Issue I reported a while ago. There were improper checks on 2 attributes, namely step_x and step_y. As per documentation, they should be capable of handling a 0 value. And they were not. More info is in the Issue.