mirror of
https://github.com/appgurueu/modlib.git
synced 2024-08-20 05:14:10 +02:00
B3D: Fix incorrect reading of brush blend & fx as floats
This commit is contained in:
parent
b7ae328aab
commit
b00c0f0d51
4
b3d.lua
4
b3d.lua
@ -113,8 +113,8 @@ function read(stream)
|
|||||||
brush.name = string()
|
brush.name = string()
|
||||||
brush.color = color()
|
brush.color = color()
|
||||||
brush.shininess = float()
|
brush.shininess = float()
|
||||||
brush.blend = float()
|
brush.blend = int()
|
||||||
brush.fx = float()
|
brush.fx = int()
|
||||||
brush.texture_id = {}
|
brush.texture_id = {}
|
||||||
for index = 1, brushes.n_texs do
|
for index = 1, brushes.n_texs do
|
||||||
brush.texture_id[index] = optional_id()
|
brush.texture_id[index] = optional_id()
|
||||||
|
Loading…
Reference in New Issue
Block a user