diff -r bde3e43d7b27 -r b30b8d39d662 hedgewars/uGears.pas --- a/hedgewars/uGears.pas Tue Nov 11 21:55:38 2014 +0100 +++ b/hedgewars/uGears.pas Tue Nov 11 23:57:46 2014 +0300 @@ -856,6 +856,8 @@ t:= byte(s[2]); // team if Length(s) > 2 then h:= byte(s[3]) // target hog + else + h:= 0 end; // allow targetting a hog by specifying a number as the first portion of the text if (x < 4) and (h > byte('0')) and (h < byte('9')) then