1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-21 09:53:50 +00:00
This commit is contained in:
gus 2014-03-05 11:27:16 +01:00
parent f4879dacd5
commit d84319300a

View file

@ -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;