mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-19 22:23:51 +00:00
fix for PCJoinFaction and for getPcRank without explicit reference
This commit is contained in:
parent
0d8bfbfa9b
commit
7de49a66e2
1 changed files with 3 additions and 2 deletions
|
@ -528,11 +528,12 @@ namespace MWScript
|
|||
|
||||
virtual void execute (Interpreter::Runtime& runtime, unsigned int arg0)
|
||||
{
|
||||
MWWorld::Ptr actor = R()(runtime, false);
|
||||
|
||||
std::string factionID = "";
|
||||
|
||||
if(arg0==0)
|
||||
{
|
||||
MWWorld::Ptr actor = R()(runtime);
|
||||
factionID = getDialogueActorFaction(actor);
|
||||
}
|
||||
else
|
||||
|
@ -637,7 +638,7 @@ namespace MWScript
|
|||
|
||||
virtual void execute (Interpreter::Runtime& runtime, unsigned int arg0)
|
||||
{
|
||||
MWWorld::Ptr ptr = R()(runtime);
|
||||
MWWorld::Ptr ptr = R()(runtime, false);
|
||||
|
||||
std::string factionID = "";
|
||||
if(arg0 >0)
|
||||
|
|
Loading…
Reference in a new issue