mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-31 17:45:35 +00:00
Merge pull request #1640 from unelsson/typofix_updatecrimepersuit
Typofix: updateCrimePersuit -> updateCrimePursuit
This commit is contained in:
commit
1e600de44e
2 changed files with 3 additions and 3 deletions
|
@ -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…
Reference in a new issue