mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 19:20:49 +00:00
Merge pull request #1503 from akortunov/regressions
Handle Trespassing crime differently from Theft
This commit is contained in:
commit
bbf9b0c0a7
@ -1123,6 +1123,10 @@ namespace MWMechanics
|
|||||||
if (playerFollowers.find(*it) != playerFollowers.end())
|
if (playerFollowers.find(*it) != playerFollowers.end())
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
|
// NPC will complain about theft even if he will do nothing about it
|
||||||
|
if (type == OT_Theft || type == OT_Pickpocket)
|
||||||
|
MWBase::Environment::get().getDialogueManager()->say(*it, "thief");
|
||||||
|
|
||||||
crimeSeen = true;
|
crimeSeen = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1243,9 +1247,7 @@ namespace MWMechanics
|
|||||||
{
|
{
|
||||||
reported = true;
|
reported = true;
|
||||||
|
|
||||||
if (type == OT_Theft || type == OT_Pickpocket)
|
if (type == OT_Trespassing)
|
||||||
MWBase::Environment::get().getDialogueManager()->say(*it, "thief");
|
|
||||||
else if (type == OT_Trespassing)
|
|
||||||
MWBase::Environment::get().getDialogueManager()->say(*it, "intruder");
|
MWBase::Environment::get().getDialogueManager()->say(*it, "intruder");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user