Merge branch 'dev' into generated-pcm-stream

This commit is contained in:
MihailRis
2025-10-14 23:18:33 +03:00
14 changed files with 51 additions and 44 deletions
@@ -273,7 +273,7 @@ static int l_meta_meta_call(lua::State* L) {
auto width = tointeger(L, 2);
auto height = tointeger(L, 3);
if (width <= 0 || height <= 0) {
throw std::runtime_error("width and height must be greather than 0");
throw std::runtime_error("width and height must be greater than 0");
}
return newuserdata<LuaHeightmap>(
L, static_cast<uint>(width), static_cast<uint>(height)