# HG changeset patch # User Beliar # Date 1331817342 -3600 # Node ID ff4f9b387caca86ea9e9ace05908fc2a70a1c493 # Parent 0d042224349059be835f3c160f272609bf9a65cd Fixed npcs not actually wandering around. diff -r 0d0422243490 -r ff4f9b387cac behaviours/npc.py --- a/behaviours/npc.py Sat Mar 10 13:31:47 2012 +0100 +++ b/behaviours/npc.py Thu Mar 15 14:15:42 2012 +0100 @@ -105,4 +105,5 @@ @type location: fife.Location @param location: Where the NPC will walk to. @return: None""" - self.agent.move('walk', location, self.speed - 1) \ No newline at end of file + self.agent.move('walk', location, self.speed) + coords = location.getMapCoordinates()