changeset 7426 | 55b49cc1f33a |
parent 7401 | 4c3ec3dca0c7 |
child 7517 | f287f00063e8 |
--- a/hedgewars/uScript.pas Tue Jul 24 18:53:42 2012 -0400 +++ b/hedgewars/uScript.pas Wed Jul 25 10:56:14 2012 -0400 @@ -981,7 +981,7 @@ begin prevgear := CurrentHedgehog^.Gear; prevgear^.Active := false; - prevgear^.State:= prevgear^.State and not gstHHDriven; + prevgear^.State:= prevgear^.State and (not gstHHDriven); prevgear^.Z := cHHZ; prevgear^.Message:= prevgear^.Message or gmRemoveFromList or gmAddToList;