hedgewars/uCommandHandlers.pas
changeset 7231 f484455dd055
parent 7198 5debd5fe526e
parent 7218 9ecd5bc9810b
child 7442 9bb6abdb5675
--- a/hedgewars/uCommandHandlers.pas	Fri Jun 08 02:52:35 2012 +0400
+++ b/hedgewars/uCommandHandlers.pas	Mon Jun 11 17:56:10 2012 +0400
@@ -775,7 +775,8 @@
 
 procedure chGameFlags(var s: shortstring);
 begin
-GameFlags:= StrToInt(s)
+GameFlags:= StrToInt(s);
+if GameFlags and gfSharedAmmo <> 0 then GameFlags:= GameFlags and not gfPerHogAmmo
 end;
 
 procedure chHedgehogTurnTime(var s: shortstring);