author | nemo |
Sun, 19 Dec 2010 22:06:38 -0500 | |
changeset 4582 | 85e92b6e5ad4 |
parent 4580 | bd43d9ac6e04 |
child 4584 | 66bc6e45be83 |
--- a/hedgewars/GSHandlers.inc Sun Dec 19 21:16:14 2010 -0500 +++ b/hedgewars/GSHandlers.inc Sun Dec 19 22:06:38 2010 -0500 @@ -553,7 +553,7 @@ end; if ((GameTicks and $1F) = 0) and (Random(3) = 0) then begin - AddVisualGear(hwRound(Gear^.X), hwRound(Gear^.Y), vgtDust); + particle:= AddVisualGear(hwRound(Gear^.X), hwRound(Gear^.Y), vgtDust); if particle <> nil then particle^.dX := particle^.dX + (Gear^.dX.QWordValue / 21474836480) end end;