all repos — Legends-RPG @ 6c9f9396c73bdea6ccb0cd295c4aa5331f61c9a5

A fantasy mini-RPG built with Python and Pygame.

Turned some floats to integers
Justin Armstrong justinmeister@gmail.com
Thu, 03 Apr 2014 22:28:56 -0700
commit

6c9f9396c73bdea6ccb0cd295c4aa5331f61c9a5

parent

38f6bd20a724d1a01555ecbe85fe01d759efd6dd

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M data/components/person.pydata/components/person.py

@@ -161,8 +161,8 @@

def make_wander_box(self): """Make a list of rects that surround the initial location of a sprite to limit his/her wandering""" - x = self.location[0] - y = self.location[1] + x = int(self.location[0]) + y = int(self.location[1]) box_list = [] box_rects = []