Commit 15387051b804c171aaf46809874baf47ad7047bc
1 parent
99710d86
fix
git-svn-id: http://svn.net-core.org/repos/t-engine4@3492 51575b47-30f0-44d4-a5cc-537603b46e54
Showing
3 changed files
with
3 additions
and
0 deletions
... | ... | @@ -102,6 +102,7 @@ function _M:defineDisplayCallback() |
102 | 102 | local e |
103 | 103 | for i = 1, #ps do |
104 | 104 | e = ps[i] |
105 | + e:checkDisplay() | |
105 | 106 | if e.ps:isAlive() then e.ps:toScreen(x + w / 2, y + h / 2, true, w / game.level.map.tile_w) |
106 | 107 | else self:removeParticles(e) |
107 | 108 | end | ... | ... |
... | ... | @@ -433,6 +433,7 @@ function _M:defineDisplayCallback() |
433 | 433 | local e |
434 | 434 | for i = 1, #ps do |
435 | 435 | e = ps[i] |
436 | + e:checkDisplay() | |
436 | 437 | if e.ps:isAlive() then e.ps:toScreen(x + w / 2, y + h / 2, true, w / game.level.map.tile_w) |
437 | 438 | else self:removeParticles(e) |
438 | 439 | end | ... | ... |
-
Please register or login to post a comment