hedgewars/uCommandHandlers.pas
changeset 7218 9ecd5bc9810b
parent 7187 aff30d80bd7b
child 7231 f484455dd055
child 7389 15c3fb4882df
equal deleted inserted replaced
7216:53f5e48b8375 7218:9ecd5bc9810b
   761 cExplosives:= StrToInt(s)
   761 cExplosives:= StrToInt(s)
   762 end;
   762 end;
   763 
   763 
   764 procedure chGameFlags(var s: shortstring);
   764 procedure chGameFlags(var s: shortstring);
   765 begin
   765 begin
   766 GameFlags:= StrToInt(s)
   766 GameFlags:= StrToInt(s);
       
   767 if GameFlags and gfSharedAmmo <> 0 then GameFlags:= GameFlags and not gfPerHogAmmo
   767 end;
   768 end;
   768 
   769 
   769 procedure chHedgehogTurnTime(var s: shortstring);
   770 procedure chHedgehogTurnTime(var s: shortstring);
   770 begin
   771 begin
   771 cHedgehogTurnTime:= StrToInt(s)
   772 cHedgehogTurnTime:= StrToInt(s)