mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Android build fixes for c++11
This commit is contained in:
parent
69247ca223
commit
22a891a925
15 changed files with 139 additions and 53 deletions
|
@ -2092,10 +2092,11 @@ void Game::toggleFreeMoveAlt()
|
|||
void Game::toggleFast()
|
||||
{
|
||||
bool fast_move = !g_settings->getBool("fast_move");
|
||||
bool has_fast_privs = client->checkPrivilege("fast");
|
||||
g_settings->set("fast_move", bool_to_cstr(fast_move));
|
||||
|
||||
if (fast_move) {
|
||||
if (client->checkPrivilege("fast")) {
|
||||
if (has_fast_privs) {
|
||||
m_game_ui->showTranslatedStatusText("Fast mode enabled");
|
||||
} else {
|
||||
m_game_ui->showTranslatedStatusText("Fast mode enabled (note: no 'fast' privilege)");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue