- Passat a mini v1.3.6
This commit is contained in:
@@ -44,7 +44,7 @@ end
|
||||
|
||||
function imp.draw()
|
||||
if imp.enabled then
|
||||
blit((imp.frame&7)*16,(imp.frame>>3)*16,16,16,imp.x,imp.y,16,16,imp.flip)
|
||||
draw.surf((imp.frame&7)*16,(imp.frame>>3)*16,16,16,imp.x,imp.y,16,16,imp.flip)
|
||||
end
|
||||
end
|
||||
|
||||
@@ -58,7 +58,7 @@ function imp.update()
|
||||
imp.wait=0
|
||||
if not imp.enabled then
|
||||
imp.counter=imp.counter-1
|
||||
local r = rnd(imp.counter)
|
||||
local r = math.random(0,imp.counter-1)
|
||||
--print(r)
|
||||
if imp.counter==1 or r==1 then
|
||||
imp.init()
|
||||
|
||||
Reference in New Issue
Block a user