share/hedgewars/Data/Maps/CTF_Blizzard/map.lua
changeset 13630 fe7d2bbf5f3f
parent 13117 cd1561b0337f
child 13643 690cc84e9fd6
--- a/share/hedgewars/Data/Maps/CTF_Blizzard/map.lua	Tue Aug 07 12:15:59 2018 +0200
+++ b/share/hedgewars/Data/Maps/CTF_Blizzard/map.lua	Tue Aug 07 13:04:02 2018 +0200
@@ -677,7 +677,7 @@
 end
 
 
-function onGearResurrect(gear)
+function onGearResurrect(gear, vGear)
 
 	-- mark the flag thief as dead if he needed a respawn
 	for i = 0,1 do
@@ -693,7 +693,9 @@
 		FindPlace(gear, false, 2048, LAND_WIDTH)
 	end
 
-	AddVisualGear(GetX(gear), GetY(gear), vgtBigExplosion, 0, false)
+	if vGear then
+		SetVisualGearValues(vGear, GetX(gear), GetY(gear))
+	end
 
 end