Skip to content
Snippets Groups Projects
Commit 15387051 authored by dg's avatar dg
Browse files

fix

git-svn-id: http://svn.net-core.org/repos/t-engine4@3492 51575b47-30f0-44d4-a5cc-537603b46e54
parent 99710d86
No related branches found
Tags tome-beta27
No related merge requests found
......@@ -102,6 +102,7 @@ function _M:defineDisplayCallback()
local e
for i = 1, #ps do
e = ps[i]
e:checkDisplay()
if e.ps:isAlive() then e.ps:toScreen(x + w / 2, y + h / 2, true, w / game.level.map.tile_w)
else self:removeParticles(e)
end
......
......@@ -211,6 +211,7 @@ function _M:defineDisplayCallback()
local e
for i = 1, #ps do
e = ps[i]
e:checkDisplay()
if e.ps:isAlive() then e.ps:toScreen(x + w / 2, y + h / 2, true, w / game.level.map.tile_w)
else
end
......
......@@ -433,6 +433,7 @@ function _M:defineDisplayCallback()
local e
for i = 1, #ps do
e = ps[i]
e:checkDisplay()
if e.ps:isAlive() then e.ps:toScreen(x + w / 2, y + h / 2, true, w / game.level.map.tile_w)
else self:removeParticles(e)
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment