From b00c0f0d515b241a9f30b62d6935e28e1d8ef1f6 Mon Sep 17 00:00:00 2001 From: Lars Mueller Date: Thu, 21 Apr 2022 11:08:43 +0200 Subject: [PATCH] B3D: Fix incorrect reading of brush blend & fx as floats --- b3d.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/b3d.lua b/b3d.lua index 2d7b00f..c7860d7 100644 --- a/b3d.lua +++ b/b3d.lua @@ -113,8 +113,8 @@ function read(stream) brush.name = string() brush.color = color() brush.shininess = float() - brush.blend = float() - brush.fx = float() + brush.blend = int() + brush.fx = int() brush.texture_id = {} for index = 1, brushes.n_texs do brush.texture_id[index] = optional_id()