forked from teamnwah/openmw-tes3coop
Fix swapped position of Save and Load menu buttons
This commit is contained in:
parent
f812746010
commit
cf07d2ab93
1 changed files with 4 additions and 4 deletions
|
@ -165,15 +165,15 @@ namespace MWGui
|
||||||
|
|
||||||
buttons.push_back("newgame");
|
buttons.push_back("newgame");
|
||||||
|
|
||||||
if (MWBase::Environment::get().getStateManager()->characterBegin()!=
|
|
||||||
MWBase::Environment::get().getStateManager()->characterEnd())
|
|
||||||
buttons.push_back("loadgame");
|
|
||||||
|
|
||||||
if (state==MWBase::StateManager::State_Running &&
|
if (state==MWBase::StateManager::State_Running &&
|
||||||
MWBase::Environment::get().getWorld()->getGlobalInt ("chargenstate")==-1 &&
|
MWBase::Environment::get().getWorld()->getGlobalInt ("chargenstate")==-1 &&
|
||||||
MWBase::Environment::get().getWindowManager()->isSavingAllowed())
|
MWBase::Environment::get().getWindowManager()->isSavingAllowed())
|
||||||
buttons.push_back("savegame");
|
buttons.push_back("savegame");
|
||||||
|
|
||||||
|
if (MWBase::Environment::get().getStateManager()->characterBegin()!=
|
||||||
|
MWBase::Environment::get().getStateManager()->characterEnd())
|
||||||
|
buttons.push_back("loadgame");
|
||||||
|
|
||||||
buttons.push_back("options");
|
buttons.push_back("options");
|
||||||
|
|
||||||
if (state==MWBase::StateManager::State_NoGame)
|
if (state==MWBase::StateManager::State_NoGame)
|
||||||
|
|
Loading…
Reference in a new issue