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

sanity

git-svn-id: http://svn.net-core.org/repos/t-engine4@6095 51575b47-30f0-44d4-a5cc-537603b46e54
parent 394f5508
No related branches found
No related tags found
No related merge requests found
......@@ -254,7 +254,7 @@ newTalent{
local level = game.level.source_level
if not self.dead then
oldlevel:removeEntity(self)
oldlevel:removeEntity(self, true)
level:addEntity(self)
end
......@@ -279,7 +279,7 @@ newTalent{
p.target.on_die, p.target.demon_plane_on_die = p.target.demon_plane_on_die, nil
game.level.map:particleEmitter(x2, y2, 1, "demon_teleport")
end
if oldlevel:hasEntity(p.target) then oldlevel:removeEntity(p.target) end
if oldlevel:hasEntity(p.target) then oldlevel:removeEntity(p.target, true) end
level:addEntity(p.target)
else
p.target.x, p.target.y = x2, y2
......
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