Fix getpcinjail returning 0 when the console is open

celladd
MiroslavR 10 years ago
parent 9bbe6f8c5e
commit 2223a69ab8

@ -1007,7 +1007,7 @@ namespace MWScript
virtual void execute (Interpreter::Runtime &runtime)
{
runtime.push (MWBase::Environment::get().getWindowManager()->getMode() == MWGui::GM_Jail);
runtime.push (MWBase::Environment::get().getWindowManager()->containsMode(MWGui::GM_Jail));
}
};

Loading…
Cancel
Save