Permalink
Browse files

fix crash at starting level

  • Loading branch information...
1 parent f6c5d34 commit f8b1bfb3c7c2b8c43887945b8d53cc671edb40ce @tshirtman committed Jun 5, 2011
Showing with 8 additions and 3 deletions.
  1. +2 −0 CHANGELOG
  2. +3 −0 INSTALL.fr.txt
  3. +3 −3 usf/level.py
View
@@ -11,6 +11,8 @@ implementation of decorums for levels
reworked controls implementation
fixed crash with unfinished characters
pep8 fixes, code cleanup...
+fixed errors in vertex events and staticonground events, it's now possible to do a smash-up without jumping
+pylint fixes
Data
====
View
@@ -1,3 +1,6 @@
+Dépendances:
+python (>=2.5), python-pygame (>=1.7) et python-numpy (>=1.5) sont nécessaire pour jouer…
+
== Linux ==
Note: toutes les commandes suivantes sont à entrer dans un terminal, celui ci
étant l'outil commun à toutes les distributions, si vous souhaitez
View
@@ -110,7 +110,7 @@ class Block (object):
An abstraction class to define methods shared by some level objects.
"""
- def __init__(self, position, texture):
+ def __init__(self, position, texture, levelname):
"""
Not much to do here.
"""
@@ -162,7 +162,7 @@ class VectorBloc (Block):
def __init__(self, rects, position, vector, relative, texture,
server=False, levelname='biglevel'):
- Block.__init__(self, position, texture)
+ Block.__init__(self, position, texture, levelname)
self.rects = rects
self.relative = relative
self.vector = vector
@@ -196,7 +196,7 @@ class MovingPart (Block):
def __init__(self, rects, texture, patterns, server=False,
levelname="biglevel"):
- Block.__init__(self, patterns[0]['position'], texture)
+ Block.__init__(self, patterns[0]['position'], texture, levelname)
#logging.debug('moving block created')
self.rects = rects
self.patterns = patterns

0 comments on commit f8b1bfb

Please sign in to comment.