1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-12-08 17:34:31 +00:00

Revert autoformat changes

This commit is contained in:
Aussiemon 2025-04-15 17:56:48 -06:00 committed by Aussiemon
parent a77a8904e5
commit 23dc226dff

View file

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