move spark_particle's mknew call to the right spot
This commit is contained in:
parent
2e46d87a84
commit
dae108c231
@ -1790,6 +1790,7 @@ function boom(x,y,boominess,is_boss)
|
||||
end
|
||||
|
||||
spark_particle={}
|
||||
mknew(spark_particle)
|
||||
|
||||
function spark_particle:move()
|
||||
if (rnd(4) < 1) self.sidx += 1
|
||||
@ -1802,7 +1803,6 @@ end
|
||||
function spark_particle:draw()
|
||||
pset(self.x,self.y,self.sprs[self.sidx])
|
||||
end
|
||||
mknew(spark_particle)
|
||||
|
||||
function spark(sprs, x, y, butts, thrust, odds, fg)
|
||||
if (sprs==nil or flr(rnd(odds)) ~= 0) return
|
||||
|
Loading…
Reference in New Issue
Block a user