mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-11 20:11:18 +03:00
* Allow saving of the autojump option.
This commit is contained in:
@@ -166,6 +166,8 @@ void Options::update(const std::vector<std::string>& strings)
|
||||
m_playerName = value;
|
||||
else if (key == "ctrl_invertmouse")
|
||||
m_bInvertMouse = readBool(value);
|
||||
else if (key == "ctrl_autojump")
|
||||
m_bAutoJump = readBool(value);
|
||||
else if (key == "gfx_fancygraphics")
|
||||
m_bFancyGraphics = readBool(value);
|
||||
else if (key == "mp_server_visible_default")
|
||||
@@ -185,6 +187,7 @@ std::vector<std::string> Options::getOptionStrings()
|
||||
|
||||
SO("mp_username", m_playerName);
|
||||
SO("ctrl_invertmouse", saveBool(m_bInvertMouse));
|
||||
SO("ctrl_autojump", saveBool(m_bAutoJump));
|
||||
SO("gfx_fancygraphics", saveBool(m_bFancyGraphics));
|
||||
SO("mp_server_visible_default", saveBool(m_bServerVisibleDefault));
|
||||
SO("gfx_smoothlighting", saveBool(field_18));
|
||||
|
||||
@@ -100,7 +100,6 @@ public:
|
||||
uint8_t field_23D; // @NOTE: Third person mode?
|
||||
uint8_t field_23E;
|
||||
bool m_bFlyCheat;
|
||||
bool m_bAutoJump;
|
||||
uint8_t field_240;
|
||||
uint8_t field_241;
|
||||
float field_244;
|
||||
@@ -108,5 +107,6 @@ public:
|
||||
int field_24C;
|
||||
std::string m_playerName;
|
||||
bool m_bServerVisibleDefault;
|
||||
bool m_bAutoJump;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user