Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 5d8dbf2b authored by DETROYAT Alexis's avatar DETROYAT Alexis
Browse files

Removed .far_move instructions from game.py since it's initialized in...

Removed .far_move instructions from game.py since it's initialized in sp_objects and/or set in the level controller
parent 9e92df1d
No related branches found
No related tags found
3 merge requests!51Improved Holy grail + better objects & characters handling + changed map management,!21Merging the multi-character sprite handling system into avoid_monster,!20Draft: Multi-character sprite management system (same sprite used for various NPCs, each one being independent) + upgraded holy_grail
......@@ -685,10 +685,7 @@ class GameView(EmptyView):
# TODO: why custom code for guard? Should actually only to that if
# required by the level
# => Need to clean that up and make it more generic
if self.guard is not None:
self.guard.far_move = 'crowflies'
if self.knight is not None:
self.knight.far_move = 'pathfind'
# Add guard to list of objects
self.add_characters_to_map()
# self.level_maps['main']['tile_map'].sprite_lists['objects'].append(self.guard)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment