hedgewars/uCommandHandlers.pas
changeset 7426 55b49cc1f33a
parent 7418 f611ee4760c0
child 7442 9bb6abdb5675
child 7468 1333ca7554dc
--- a/hedgewars/uCommandHandlers.pas	Tue Jul 24 18:53:42 2012 -0400
+++ b/hedgewars/uCommandHandlers.pas	Wed Jul 25 10:56:14 2012 -0400
@@ -766,7 +766,7 @@
 procedure chGameFlags(var s: shortstring);
 begin
 GameFlags:= StrToInt(s);
-if GameFlags and gfSharedAmmo <> 0 then GameFlags:= GameFlags and not gfPerHogAmmo
+if GameFlags and gfSharedAmmo <> 0 then GameFlags:= GameFlags and (not gfPerHogAmmo)
 end;
 
 procedure chHedgehogTurnTime(var s: shortstring);