summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-11-14 22:07:42 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-11-29 19:13:42 +0200
commit1afed48a2c90548e0b420c9c3d7d4af9e0734d1d (patch)
treed485510b3eaa0b4fcc2aa4a4cf336da025003bfd /src/client.cpp
parentc6fd2986d4261cf742d3bc21e8c12be59ab89f95 (diff)
downloadminetest-1afed48a2c90548e0b420c9c3d7d4af9e0734d1d.tar.gz
minetest-1afed48a2c90548e0b420c9c3d7d4af9e0734d1d.tar.bz2
minetest-1afed48a2c90548e0b420c9c3d7d4af9e0734d1d.zip
Make possible and do update textures in node definitions after late texture atlas making
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index d0e5cd405..d5abcd7de 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -224,6 +224,9 @@ Client::Client(
tsrc->buildMainAtlas(this);
else
infostream<<"Not building texture atlas."<<std::endl;
+
+ // Update textures
+ m_nodedef->updateTextures(tsrc);
// NOTE: This should be done only after getting possible dynamic
// game definitions from the server, or at least shut down and