Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
proller committed Dec 30, 2024
1 parent 67d7565 commit aac67af
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/content/subgames.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ void loadGameConfAndInitWorld(const std::string &path, const std::string &name,
backend = "dummy";
}
conf.set("backend", backend);
conf.set("player_backend", "leveldb");
conf.set("player_backend", "leveldbfm");
conf.set("auth_backend", "leveldb");
conf.set("mod_storage_backend", "files");
#elif USE_SQLITE3
Expand Down
2 changes: 1 addition & 1 deletion src/debug/iostream_debug_helpers.h
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ std::enable_if_t<priority == 1
return out;
}
if constexpr (std::is_pointer_v<T>) {
out << "*" << (long) x << " ";
out << "*" << (long long) x << " ";
}
return dumpValue(out, *x);
}
Expand Down
4 changes: 2 additions & 2 deletions src/fm_clientiface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ int RemoteClient::GetNextBlocksFm(ServerEnvironment *env, EmergeManager *emerge,

v3pos_t center_nodepos = floatToInt(playerpos_predicted, BS);

v3pos_t center = getNodeBlockPos(center_nodepos);
auto center = getNodeBlockPos(center_nodepos);

// Camera position and direction
auto camera_pos = sao->getEyePosition();
Expand Down Expand Up @@ -284,7 +284,7 @@ int RemoteClient::GetNextBlocksFm(ServerEnvironment *env, EmergeManager *emerge,
}

for (auto li = list.begin(); li != list.end(); ++li) {
const v3pos_t p = *li + center;
const auto p = *li + center;

/*
Send throttling
Expand Down
2 changes: 1 addition & 1 deletion src/serverenvironment.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2809,7 +2809,7 @@ bool ServerEnvironment::migratePlayersDatabase(const GameParams &game_params,
if (!world_mt.exists("player_backend")) {
errorstream << "Please specify your current backend in world.mt:"
<< std::endl
<< " player_backend = {files|sqlite3|leveldb|postgresql}"
<< " player_backend = {files|sqlite3|leveldb|leveldbfm|postgresql}"
<< std::endl;
return false;
}
Expand Down

0 comments on commit aac67af

Please sign in to comment.