comparison eclviewer.py @ 19:ca7886296d4a

Minor fix in eclviewer
author Thibaut Girka <thib@sitedethib.com>
date Tue, 09 Aug 2011 12:02:02 +0200
parents ca26a84916cb
children bf225780973f
comparison
equal deleted inserted replaced
18:ca26a84916cb 19:ca7886296d4a
56 try: 56 try:
57 enemies2_anim = Animations.read(BytesIO(archive.extract('stg%denm2.anm' % stage_num))) 57 enemies2_anim = Animations.read(BytesIO(archive.extract('stg%denm2.anm' % stage_num)))
58 except KeyError: 58 except KeyError:
59 pass 59 pass
60 else: 60 else:
61 anims.append(enemies_anim) 61 anims.append(enemies2_anim)
62 enemy_manager = EnemyManager(stage, anims, ecl) 62 enemy_manager = EnemyManager(stage, anims, ecl)
63 63
64 background_anim = Animations.read(BytesIO(archive.extract('stg%dbg.anm' % stage_num))) 64 background_anim = Animations.read(BytesIO(archive.extract('stg%dbg.anm' % stage_num)))
65 background = Background(stage, background_anim) 65 background = Background(stage, background_anim)
66 66