1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-31 15:45:35 +00:00

Merge pull request #1640 from unelsson/typofix_updatecrimepersuit

Typofix: updateCrimePersuit -> updateCrimePursuit
This commit is contained in:
Bret Curtis 2018-03-23 22:13:22 +01:00 committed by GitHub
commit 1e600de44e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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();
if (ptr != player && ptr.getClass().isNpc())
@ -1285,7 +1285,7 @@ namespace MWMechanics
}
if (iter->first.getClass().isNpc() && iter->first != player)
updateCrimePersuit(iter->first, duration);
updateCrimePursuit(iter->first, duration);
if (iter->first != player)
{

View file

@ -41,7 +41,7 @@ namespace MWMechanics
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 ();