diff options
author | Thomas--S <Thomas--S@users.noreply.github.com> | 2017-04-13 15:45:12 +0200 |
---|---|---|
committer | SmallJoker <mk939@ymail.com> | 2017-08-04 21:57:50 +0200 |
commit | e63df5ce80eb1a0955e04f75ce8f72f119dc5f3c (patch) | |
tree | a9babfa59db47b5e7ea2ad7f0e105313f821cddd /src | |
parent | 86c0b27c33eff69c3dfd2d9ca6f7937fe3eceb5a (diff) | |
download | minetest-e63df5ce80eb1a0955e04f75ce8f72f119dc5f3c.tar.gz minetest-e63df5ce80eb1a0955e04f75ce8f72f119dc5f3c.tar.bz2 minetest-e63df5ce80eb1a0955e04f75ce8f72f119dc5f3c.zip |
Sort box corners correctly
Diffstat (limited to 'src')
-rw-r--r-- | src/script/common/c_converter.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/script/common/c_converter.cpp b/src/script/common/c_converter.cpp index fc516d56a..3426a9677 100644 --- a/src/script/common/c_converter.cpp +++ b/src/script/common/c_converter.cpp @@ -306,6 +306,7 @@ aabb3f read_aabb3f(lua_State *L, int index, f32 scale) box.MaxEdge.Z = lua_tonumber(L, -1) * scale; lua_pop(L, 1); } + box.repair(); return box; } |