mirror of
https://github.com/OpenMW/openmw.git
synced 2025-12-07 22:04:35 +00:00
Revert autoformat changes
This commit is contained in:
parent
a77a8904e5
commit
23dc226dff
1 changed files with 3 additions and 2 deletions
|
|
@ -184,7 +184,7 @@ namespace
|
|||
MWWorld::ContainerStoreIterator gem = container.end();
|
||||
float gemCapacity = std::numeric_limits<float>::max();
|
||||
for (auto it = container.begin(MWWorld::ContainerStore::Type_Miscellaneous); it != container.end();
|
||||
++it)
|
||||
++it)
|
||||
{
|
||||
if (it->getClass().isSoulGem(*it))
|
||||
{
|
||||
|
|
@ -1149,7 +1149,8 @@ namespace MWMechanics
|
|||
if (playerStats.getBounty() >= cutoff * iCrimeThresholdMultiplier)
|
||||
{
|
||||
mechanicsManager->startCombat(ptr, player, &cachedAllies.getActorsSidingWith(player));
|
||||
creatureStats.setHitAttemptActorId(playerClass.getCreatureStats(player)
|
||||
creatureStats.setHitAttemptActorId(
|
||||
playerClass.getCreatureStats(player)
|
||||
.getActorId()); // Stops the guard from quitting combat if player is unreachable
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue