[Client] Disable automatic transition to other chargen menus from OpenMW

Previously, after finishing the TES3MP chargen once, mCreationStage was set to 4 in OpenMW, which in turn made it impossible to go through only specific chargen menus again as the result of the relevant TES3MP script function (tes3mp.SetCharGenStage(pid, startStage, endStage) in 0.6.3, player:setCharGenStages(startStage, endStage) in 0.7). In other words, trying to allow a player to just choose their class again made it so the player started at that menu and went through all the other subsequent menus as well, i.e. the player went through the class, birthsign and review menus.
pull/410/head
David Cernat 7 years ago
parent 28f1c1b0d3
commit 57070b7f5c

@ -705,10 +705,22 @@ namespace MWGui
{
MWBase::Environment::get().getWindowManager()->pushGuiMode(GM_Review);
}
/*
Start of tes3mp change (major)
Servers have control over character generation in multiplayer, which is why
the automatic transition to the next character generation menu has been
commented out here
*/
/*
else if (mCreationStage >= currentStage)
{
MWBase::Environment::get().getWindowManager()->pushGuiMode((GuiMode)nextMode);
}
*/
/*
End of tes3mp change (major)
*/
else
{
mCreationStage = currentStage;

Loading…
Cancel
Save