fix sfx
This commit is contained in:
parent
2ed0232316
commit
3e62a745a2
@ -479,13 +479,13 @@ function level_upd()
|
|||||||
if d < toomgis_radius() and item.n != 0 then
|
if d < toomgis_radius() and item.n != 0 then
|
||||||
-- item collision
|
-- item collision
|
||||||
if item.n > 16 then
|
if item.n > 16 then
|
||||||
sfx(5, 0)
|
sfx(5)
|
||||||
hitbody()
|
hitbody()
|
||||||
streak = 0
|
streak = 0
|
||||||
vx = max(vx - 1, min_speed)
|
vx = max(vx - 1, min_speed)
|
||||||
else
|
else
|
||||||
local mult = streak2mult()
|
local mult = streak2mult()
|
||||||
sfx(6, 0, 0, 4*mult)
|
sfx(6, -1, 0, 4*mult)
|
||||||
for i=1,mult do
|
for i=1,mult do
|
||||||
add2body(item.n)
|
add2body(item.n)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user