|
|
|
@ -165,15 +165,15 @@ namespace MWGui
|
|
|
|
|
|
|
|
|
|
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 &&
|
|
|
|
|
MWBase::Environment::get().getWorld()->getGlobalInt ("chargenstate")==-1 &&
|
|
|
|
|
MWBase::Environment::get().getWindowManager()->isSavingAllowed())
|
|
|
|
|
buttons.push_back("savegame");
|
|
|
|
|
|
|
|
|
|
if (MWBase::Environment::get().getStateManager()->characterBegin()!=
|
|
|
|
|
MWBase::Environment::get().getStateManager()->characterEnd())
|
|
|
|
|
buttons.push_back("loadgame");
|
|
|
|
|
|
|
|
|
|
buttons.push_back("options");
|
|
|
|
|
|
|
|
|
|
if (state==MWBase::StateManager::State_NoGame)
|
|
|
|
|