okami 0.0.983 → 0.0.984

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/okami/sprite.rb +1 -1
  2. metadata +1 -1
data/lib/okami/sprite.rb CHANGED
@@ -104,7 +104,7 @@ class Okami::Sprite
104
104
  end
105
105
 
106
106
  def update_loop
107
- @frame_index = 0 if @frame_index.abs > @last_frame_index
107
+ @frame_index %= @images.length# if @frame_index.abs > @last_frame_index
108
108
  end
109
109
 
110
110
  def update_backward
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: okami
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.983
4
+ version: 0.0.984
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: