hedgewars/uCommandHandlers.pas
changeset 7218 9ecd5bc9810b
parent 7187 aff30d80bd7b
child 7231 f484455dd055
child 7389 15c3fb4882df
--- a/hedgewars/uCommandHandlers.pas	Sat Jun 09 17:15:45 2012 -0400
+++ b/hedgewars/uCommandHandlers.pas	Sun Jun 10 14:36:40 2012 -0400
@@ -763,7 +763,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);