diff options
author | Novatux <nathanael.courant@laposte.net> | 2014-01-26 11:40:21 +0100 |
---|---|---|
committer | Novatux <nathanael.courant@laposte.net> | 2014-03-04 20:12:10 +0100 |
commit | 062de11b4cff30861dd4e9eb56f131d821f34b51 (patch) | |
tree | 37bdcbacb355abfe1f8091307222e430e58b78d8 /src/itemdef.cpp | |
parent | 8e15179e7d896851c6f5814fc6524c86b26ce2e3 (diff) | |
download | hax-minetest-server-062de11b4cff30861dd4e9eb56f131d821f34b51.tar.gz hax-minetest-server-062de11b4cff30861dd4e9eb56f131d821f34b51.zip |
Fix rendering glitches when far from the center of the map
Diffstat (limited to 'src/itemdef.cpp')
-rw-r--r-- | src/itemdef.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/itemdef.cpp b/src/itemdef.cpp index d5e03f7b3..0187c7387 100644 --- a/src/itemdef.cpp +++ b/src/itemdef.cpp @@ -398,7 +398,7 @@ public: MeshMakeData mesh_make_data(gamedef); MapNode mesh_make_node(id, param1, 0); mesh_make_data.fillSingleNode(&mesh_make_node); - MapBlockMesh mapblock_mesh(&mesh_make_data); + MapBlockMesh mapblock_mesh(&mesh_make_data, v3s16(0, 0, 0)); scene::IMesh *node_mesh = mapblock_mesh.getMesh(); assert(node_mesh); video::SColor c(255, 255, 255, 255); |