mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
Fix whitespaces
This commit is contained in:
@@ -1446,7 +1446,7 @@ void Game::copyServerClientCache()
|
||||
{
|
||||
// It would be possible to let the client directly read the media files
|
||||
// from where the server knows they are. But aside from being more complicated
|
||||
// it would also *not* fill the media cache and cause slower joining of
|
||||
// it would also *not* fill the media cache and cause slower joining of
|
||||
// remote servers.
|
||||
// (Imagine that you launch a game once locally and then connect to a server.)
|
||||
|
||||
|
@@ -139,5 +139,5 @@ bool checkMeshNormals(scene::IMesh *mesh);
|
||||
Set the MinFilter, MagFilter and AnisotropicFilter properties of a texture
|
||||
layer according to the three relevant boolean values found in the Minetest
|
||||
settings.
|
||||
*/
|
||||
*/
|
||||
void setMaterialFilters(video::SMaterialLayer &tex, bool bilinear, bool trilinear, bool anisotropic);
|
||||
|
@@ -140,7 +140,7 @@ void ShadowRenderer::initialize()
|
||||
}
|
||||
|
||||
createShaders();
|
||||
|
||||
|
||||
|
||||
m_texture_format = m_shadow_map_texture_32bit
|
||||
? video::ECOLOR_FORMAT::ECF_R32F
|
||||
|
@@ -542,9 +542,9 @@ int LuaPcgRandom::l_set_state(lua_State *L)
|
||||
u64 state[2];
|
||||
s_state_0 >> std::hex >> state[0];
|
||||
s_state_1 >> std::hex >> state[1];
|
||||
|
||||
|
||||
o->m_rnd.setState(state);
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@@ -91,7 +91,7 @@ bool ActiveObjectMgr::registerObject(std::unique_ptr<ServerActiveObject> obj)
|
||||
return false;
|
||||
}
|
||||
|
||||
auto obj_id = obj->getId();
|
||||
auto obj_id = obj->getId();
|
||||
m_active_objects.put(obj_id, std::move(obj));
|
||||
|
||||
auto new_size = m_active_objects.size();
|
||||
|
@@ -52,7 +52,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
#endif
|
||||
|
||||
/*
|
||||
ServerMap
|
||||
ServerMap
|
||||
*/
|
||||
|
||||
ServerMap::ServerMap(const std::string &savedir, IGameDef *gamedef,
|
||||
|
Reference in New Issue
Block a user