projects
/
koperkapel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c447e7
)
Fix name
author
Neil
<neil@dip.sun.ac.za>
Sat, 5 Mar 2016 20:00:13 +0000
(22:00 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Sat, 5 Mar 2016 20:01:09 +0000
(22:01 +0200)
koperkapel/scenes/level.py
patch
|
blob
|
history
diff --git
a/koperkapel/scenes/level.py
b/koperkapel/scenes/level.py
index e5d102a265d9772b9095d3915166c1bbf479dceb..7978a73546cdcc5f2a1d2f5e66eb33d211fa15c2 100644
(file)
--- a/
koperkapel/scenes/level.py
+++ b/
koperkapel/scenes/level.py
@@
-146,7
+146,7
@@
class GameLevelScene(BaseLevelScene):
def _can_move(self, x, y):
if self._mode == 'walk':
- if not self._level.
is_on_enemy
(x, y):
+ if not self._level.
enemy_at
(x, y):
return self._level.can_walk(x, y, self._level_layer)
return False
elif self._mode == 'fly':