forked from teamnwah/openmw-tes3coop
Make GetFactionReaction garbage argument optional
This commit is contained in:
parent
3d9bdad8ba
commit
b259c5def2
2 changed files with 1 additions and 4 deletions
|
@ -227,9 +227,6 @@ namespace MWScript
|
|||
std::string faction2 = runtime.getStringLiteral (runtime[0].mInteger);
|
||||
runtime.pop();
|
||||
|
||||
// ignore extra garbage argument
|
||||
runtime.pop();
|
||||
|
||||
runtime.push(MWBase::Environment::get().getDialogueManager()
|
||||
->getFactionReaction(faction1, faction2));
|
||||
}
|
||||
|
|
|
@ -180,7 +180,7 @@ namespace Compiler
|
|||
extensions.registerFunction("samefaction", 'l', "", opcodeSameFaction,
|
||||
opcodeSameFactionExplicit);
|
||||
extensions.registerInstruction("modfactionreaction", "ccl", opcodeModFactionReaction);
|
||||
extensions.registerFunction("getfactionreaction", 'l', "ccl", opcodeGetFactionReaction);
|
||||
extensions.registerFunction("getfactionreaction", 'l', "ccX", opcodeGetFactionReaction);
|
||||
extensions.registerInstruction("clearinfoactor", "", opcodeClearInfoActor, opcodeClearInfoActorExplicit);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue