Fix client-side particle texture errors (#82)
Somewhere between minetest v5.8 and 5.9, it stopped allowing texture modifiers without a baseimg ERROR[Main]: generateImage(): baseimg is NULL (attempted to create texture "") ERROR[Main]: generateImagePart(): baseime == NUL for part_of_name="[colorize:#FB0:255", cancelling.
This commit is contained in:
parent
bd28f97946
commit
92431f2303
@ -668,11 +668,11 @@ local function smash_lava_crust(pos, playsound)
|
||||
maxexptime = 1,
|
||||
minsize = .2,
|
||||
maxsize = .8,
|
||||
texture = "^[colorize:#A00:255",
|
||||
texture = "blank.png^[noalpha^[colorize:#A00:255",
|
||||
glow = 8
|
||||
}
|
||||
minetest.add_particlespawner(lava_particlespawn_def)
|
||||
lava_particlespawn_def.texture = "^[colorize:#FB0:255"
|
||||
lava_particlespawn_def.texture = "blank.png^[noalpha^[colorize:#FB0:255"
|
||||
lava_particlespawn_def.maxvel.y = 3
|
||||
lava_particlespawn_def.glow = 12
|
||||
minetest.add_particlespawner(lava_particlespawn_def)
|
||||
@ -874,11 +874,11 @@ local function fumarole_onTimer(pos, elapsed)
|
||||
maxexptime = 1.4,
|
||||
minsize = .2,
|
||||
maxsize = .8,
|
||||
texture = "^[colorize:#A00:255",
|
||||
texture = "blank.png^[noalpha^[colorize:#A00:255",
|
||||
glow = 8
|
||||
}
|
||||
minetest.add_particlespawner(embers_particlespawn_def)
|
||||
embers_particlespawn_def.texture = "^[colorize:#A50:255"
|
||||
embers_particlespawn_def.texture = "blank.png^[noalpha^[colorize:#A50:255"
|
||||
embers_particlespawn_def.maxvel.y = 3
|
||||
embers_particlespawn_def.glow = 12
|
||||
minetest.add_particlespawner(embers_particlespawn_def)
|
||||
|
Loading…
x
Reference in New Issue
Block a user