hedgewars/uCommandHandlers.pas
changeset 7288 5d0704f23a2a
parent 7218 9ecd5bc9810b
child 7231 f484455dd055
child 7389 15c3fb4882df
--- a/hedgewars/uCommandHandlers.pas	Tue Jun 05 22:37:36 2012 +0200
+++ b/hedgewars/uCommandHandlers.pas	Mon Jun 25 10:44:27 2012 +0200
@@ -436,7 +436,7 @@
         end
     else
         TryDo(checksum = lastTurnChecksum, 'Desync detected', true);
-    AddFileLog('Doing SwitchHedgehog: time '+inttostr(GameTicks));
+    AddFileLog('Next turn: time '+inttostr(GameTicks));
 end;
 
 procedure chTimer(var s: shortstring);
@@ -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);