mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-24 04:11:50 -04:00
Fix disposition for npcs in same faction, by Hrnchamd
This commit is contained in:
parent
8a8ecce1e5
commit
7f1d0fc2a2
@ -501,7 +501,8 @@ namespace MWMechanics
|
|||||||
{
|
{
|
||||||
if (!playerStats.getExpelled(npcFaction))
|
if (!playerStats.getExpelled(npcFaction))
|
||||||
{
|
{
|
||||||
reaction = playerStats.getFactionReputation(npcFaction);
|
// faction reaction towards itself. yes, that exists
|
||||||
|
reaction = MWBase::Environment::get().getDialogueManager()->getFactionReaction(npcFaction, npcFaction);
|
||||||
|
|
||||||
rank = playerStats.getFactionRanks().find(npcFaction)->second;
|
rank = playerStats.getFactionRanks().find(npcFaction)->second;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user