Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

test run #0

  • Loading branch information...
commit de72abb02e29776ee1a1c1ca99a9af83e8ea26b4 1 parent 7a98f07
totycro totycro authored
2  horizons/world/concreteobject.py
View
@@ -76,6 +76,8 @@ def set_action_runtime(self, runtime):
Scheduler().add_new_object( Callback(set_action_runtime, self, runtime), self, run_in=0)
def act(self, action, facing_loc=None, repeating=False):
+ import traceback; traceback.print_stack()
+ print self, ' to ', action, facing_loc
if not self.has_action(action):
action = 'idle'
# TODO This should not happen, this is a fix for the component introduction
1  horizons/world/units/unit.py
View
@@ -80,6 +80,7 @@ def onInstanceActionFinished(self, instance, action):
@param instance: fife.Instance
@param action: string representing the action that is finished.
"""
+ return
location = fife.Location(self._instance.getLocation().getLayer())
location.setExactLayerCoordinates(fife.ExactModelCoordinate( \
self.position.x + self.position.x - self.last_position.x, \
Please sign in to comment.
Something went wrong with that request. Please try again.