timfreilly / unlucky-at-python

A python game I occasionally work on
2 stars 2 forks source link

Breaking grabs on move seems to be broken #5

Open timfreilly opened 12 years ago

timfreilly commented 12 years ago

Had the NPC move away while in a grab a few times.

This line: `if 'GRABBED' not in self.currentActor.flags: doesn't seem to check for your target's grabbed state, unlike this line: if dist==1 and 'GRABBED' not in self.currentActor.flags + self.currentActor.focus.flags:`` Does it make sense to add the extra check?