# HG changeset patch # User nemo # Date 1293582030 18000 # Node ID 674cdcf8b661232b3b407684ccbd9680d5c3dd7a # Parent e73707bb99c006db16ae6e31dd1dcf674047fded fix similar problem to last checkin with this lua, also fix line endings diff -r e73707bb99c0 -r 674cdcf8b661 share/hedgewars/Data/Maps/CTF_Blizzard/map.lua --- a/share/hedgewars/Data/Maps/CTF_Blizzard/map.lua Tue Dec 28 19:05:58 2010 -0500 +++ b/share/hedgewars/Data/Maps/CTF_Blizzard/map.lua Tue Dec 28 19:20:30 2010 -0500 @@ -153,9 +153,11 @@ -- steam and smoke and DUST look good, smokering looks trippy -- smoketrace and eviltrace are not effected by wind? -- chunk is a LR falling gear - tempE = AddVisualGear(eX, eY, vgtDust, 0, false) - g1, g2, g3, g4, g5, g6, g7, g8, g9, g10 = GetVisualGearValues(tempE) - SetVisualGearValues(tempE, eX, eY, g3, g4, g5, g6, g7, g8, g9, fCol[i]) + tempE = AddVisualGear(eX, eY, vgtDust, 0, false) + if tempE ~= 0 then + g1, g2, g3, g4, g5, g6, g7, g8, g9, g10 = GetVisualGearValues(tempE) + SetVisualGearValues(tempE, eX, eY, g3, g4, g5, g6, g7, g8, g9, fCol[i]) + end end end end