hedgewars/uCommandHandlers.pas
changeset 7231 f484455dd055
parent 7198 5debd5fe526e
parent 7218 9ecd5bc9810b
child 7442 9bb6abdb5675
equal deleted inserted replaced
7198:5debd5fe526e 7231:f484455dd055
   773 cExplosives:= StrToInt(s)
   773 cExplosives:= StrToInt(s)
   774 end;
   774 end;
   775 
   775 
   776 procedure chGameFlags(var s: shortstring);
   776 procedure chGameFlags(var s: shortstring);
   777 begin
   777 begin
   778 GameFlags:= StrToInt(s)
   778 GameFlags:= StrToInt(s);
       
   779 if GameFlags and gfSharedAmmo <> 0 then GameFlags:= GameFlags and not gfPerHogAmmo
   779 end;
   780 end;
   780 
   781 
   781 procedure chHedgehogTurnTime(var s: shortstring);
   782 procedure chHedgehogTurnTime(var s: shortstring);
   782 begin
   783 begin
   783 cHedgehogTurnTime:= StrToInt(s)
   784 cHedgehogTurnTime:= StrToInt(s)