From: Thomas--S Date: Thu, 13 Apr 2017 13:45:12 +0000 (+0200) Subject: Sort box corners correctly X-Git-Tag: 5.0.0~981 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e63df5ce80eb1a0955e04f75ce8f72f119dc5f3c;p=oweals%2Fminetest.git Sort box corners correctly --- 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; }