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

Fix a possible bug when accepting the Grand Corruptor quest

git-svn-id: http://svn.net-core.org/repos/t-engine4@2525 51575b47-30f0-44d4-a5cc-537603b46e54
parent eb712db5
No related branches found
No related tags found
No related merge requests found
......@@ -958,7 +958,7 @@ function _M:displayParticles(nb_keyframes)
local del = {}
local e = next(self.particles)
while e do
if e._mo then adx, ady = e._mo:getMoveAnim(self._map, e.x, e.y) else adx, ady = 0, 0 end -- Make sure we display on the real screen coords: handle current move anim position
if e._mo and e.x and e.y then adx, ady = e._mo:getMoveAnim(self._map, e.x, e.y) else adx, ady = 0, 0 end -- Make sure we display on the real screen coords: handle current move anim position
if nb_keyframes == 0 and e.x and e.y then
-- Just display it, not updating, no emitting
......
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