crash in game due to invalid animation

Bug #771300 reported by tshirtman on 2011-04-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ultimate-smash-friends
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
  File "./ultimate-smash-friends", line 6, in <module>
    m.go()
  File "/home/paul/Sources/ultimate-smash-friends/usf/main.py", line 354, in go
    self.manage_game(state_was == "menu")
  File "/home/paul/Sources/ultimate-smash-friends/usf/main.py", line 304, in manage_game
    self.state = self.game.update(d)
  File "/home/paul/Sources/ultimate-smash-friends/usf/game.py", line 644, in update
    self.events.update(deltatime, self.gametime)
  File "/home/paul/Sources/ultimate-smash-friends/usf/event_manager.py", line 28, in update
    [e.del_() for e in self.events if e.done]
  File "/home/paul/Sources/ultimate-smash-friends/usf/timed_event.py", line 112, in del_
    self.delete()
  File "/home/paul/Sources/ultimate-smash-friends/usf/timed_event.py", line 629, in delete
    bullet=True)
  File "/home/paul/Sources/ultimate-smash-friends/usf/game.py", line 181, in addItem
    physics=physics
  File "/home/paul/Sources/ultimate-smash-friends/usf/entity.py", line 110, in __init__
    animation=animation
  File "/home/paul/Sources/ultimate-smash-friends/usf/entity_skin.py", line 113, in __init__
    self.animation = self.animations[self.current_animation]
KeyError: '132'

Changed in ultimate-smash-friends:
status: New → Fix Committed
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers