Merge pull request #1640 from unelsson/typofix_updatecrimepersuit

Typofix: updateCrimePersuit -> updateCrimePursuit
pull/395/head
Bret Curtis 7 years ago committed by GitHub
commit 1e600de44e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -992,7 +992,7 @@ namespace MWMechanics
} }
} }
void Actors::updateCrimePersuit(const MWWorld::Ptr& ptr, float duration) void Actors::updateCrimePursuit(const MWWorld::Ptr& ptr, float duration)
{ {
MWWorld::Ptr player = getPlayer(); MWWorld::Ptr player = getPlayer();
if (ptr != player && ptr.getClass().isNpc()) if (ptr != player && ptr.getClass().isNpc())
@ -1285,7 +1285,7 @@ namespace MWMechanics
} }
if (iter->first.getClass().isNpc() && iter->first != player) if (iter->first.getClass().isNpc() && iter->first != player)
updateCrimePersuit(iter->first, duration); updateCrimePursuit(iter->first, duration);
if (iter->first != player) if (iter->first != player)
{ {

@ -41,7 +41,7 @@ namespace MWMechanics
void updateEquippedLight (const MWWorld::Ptr& ptr, float duration, bool mayEquip); void updateEquippedLight (const MWWorld::Ptr& ptr, float duration, bool mayEquip);
void updateCrimePersuit (const MWWorld::Ptr& ptr, float duration); void updateCrimePursuit (const MWWorld::Ptr& ptr, float duration);
void killDeadActors (); void killDeadActors ();

Loading…
Cancel
Save