changeset 7754 | e81dc9bef8b8 |
parent 7726 | 1137406bce12 |
child 7771 | ce6d4dd0c780 |
--- a/hedgewars/uScript.pas Sun Oct 14 00:22:33 2012 +0400 +++ b/hedgewars/uScript.pas Sun Oct 14 13:35:15 2012 -0400 @@ -1669,7 +1669,7 @@ if (gear <> nil) and (gear^.Kind = gtHedgehog) and (gear^.Hedgehog <> nil) then hat:= lua_tostring(L, 2); gear^.Hedgehog^.Hat:= hat; - LoadHedgehogHat(gear, hat); + LoadHedgehogHat(gear^.Hedgehog^, hat); end; lc_sethoghat:= 0; end;