mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-04 12:39:55 +00:00
fix
This commit is contained in:
parent
f4879dacd5
commit
d84319300a
@ -27,7 +27,7 @@ bool MWMechanics::AiFollow::execute (const MWWorld::Ptr& actor,float duration)
|
|||||||
{
|
{
|
||||||
const MWWorld::Ptr target = MWBase::Environment::get().getWorld()->searchPtr(mActorId, false);
|
const MWWorld::Ptr target = MWBase::Environment::get().getWorld()->searchPtr(mActorId, false);
|
||||||
|
|
||||||
if(target == MWWorld::Ptr()) return false;
|
if(target == MWWorld::Ptr()) return true;
|
||||||
|
|
||||||
mTimer = mTimer + duration;
|
mTimer = mTimer + duration;
|
||||||
mStuckTimer = mStuckTimer + duration;
|
mStuckTimer = mStuckTimer + duration;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user