Merge pull request #884 from JoseJX/AddActorStopMoving

EMI: Add a stopWalking() call to ActorStopMoving. Fixes #880.
This commit is contained in:
Joel Teichroeb 2014-05-25 18:05:55 -07:00
commit d2b8ff5a61

View File

@ -435,8 +435,11 @@ void Lua_V2::ActorStopMoving() {
Actor *actor = getactor(actorObj); Actor *actor = getactor(actorObj);
actor->stopWalking();
// FIXME: Also stop turning?
warning("Lua_V2::ActorStopMoving, actor: %s", actor->getName().c_str()); warning("Lua_V2::ActorStopMoving, actor: %s", actor->getName().c_str());
// FIXME: implement missing rest part of code // FIXME: Inspect the rest of the code to see if there's anything else missing
} }
void Lua_V2::GetActorWorldPos() { void Lua_V2::GetActorWorldPos() {