aaaand where it was actually crashing
authornemo
Tue, 16 Dec 2014 14:29:25 -0500
changeset 10682 1be106f8095a
parent 10681 474d418a34c5
child 10683 31a0e7efa17a
aaaand where it was actually crashing
hedgewars/uGearsRender.pas
--- a/hedgewars/uGearsRender.pas	Tue Dec 16 14:23:24 2014 -0500
+++ b/hedgewars/uGearsRender.pas	Tue Dec 16 14:29:25 2014 -0500
@@ -168,6 +168,7 @@
 procedure DrawRope(Gear: PGear);
 var roplen, i: LongInt;
 begin
+    if Gear^.Hedgehog^.Gear = nil then exit;
     if (cReducedQuality and rqSimpleRope) <> 0 then
         DrawRopeLinesRQ(Gear)
     else