summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-03-15 07:25:22 +0100
committerCraig Robbins <kde.psych@gmail.com>2015-03-15 22:01:52 +1000
commite4f7c92cff0badd6c40b47bd90b1fc1b35456a1a (patch)
treed080116bc042d87283ed4c3d6e5cec9977cfd141 /src/game.cpp
parent2bc0165652ec9244081f7c0db28c8d9c81b5d308 (diff)
downloadminetest-e4f7c92cff0badd6c40b47bd90b1fc1b35456a1a.tar.gz
minetest-e4f7c92cff0badd6c40b47bd90b1fc1b35456a1a.tar.bz2
minetest-e4f7c92cff0badd6c40b47bd90b1fc1b35456a1a.zip
Finer progress bar updates when initializing nodes
The bar is only drawn when the user will notice a change, which prevents time overheads that this commit would cause, resulting from useless draws.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 7b6d2a3c1..937f6cb23 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -1998,7 +1998,7 @@ bool Game::createClient(const std::string &playername,
}
// Update cached textures, meshes and materials
- client->afterContentReceived(device, g_fontengine->getFont());
+ client->afterContentReceived(device);
/* Camera
*/