Fix broken getCollidingPc / getCollidingActor (cppcheck)

deque
scrawl 10 years ago
parent 97df7c9b22
commit 603e558fb7

@ -617,7 +617,7 @@ namespace MWScript
virtual void execute (Interpreter::Runtime& runtime)
{
MWWorld::Ptr ptr = R()(runtime);
runtime.push (MWBase::Environment::get().getWorld()->getPlayerStandingOn(ptr));
runtime.push (MWBase::Environment::get().getWorld()->getPlayerCollidingWith(ptr));
}
};
@ -629,7 +629,7 @@ namespace MWScript
virtual void execute (Interpreter::Runtime& runtime)
{
MWWorld::Ptr ptr = R()(runtime);
runtime.push (MWBase::Environment::get().getWorld()->getActorStandingOn(ptr));
runtime.push (MWBase::Environment::get().getWorld()->getActorCollidingWith(ptr));
}
};

Loading…
Cancel
Save