Fix 'youll regret that' voicepack
authorunc0rr
Mon, 19 Jan 2009 18:15:31 +0000
changeset 1723 430064bafa18
parent 1722 18915d57b72f
child 1724 830cfb83a4db
child 1725 38a074db049c
Fix 'youll regret that' voicepack
hedgewars/uGame.pas
hedgewars/uStats.pas
--- a/hedgewars/uGame.pas	Mon Jan 19 15:53:23 2009 +0000
+++ b/hedgewars/uGame.pas	Mon Jan 19 18:15:31 2009 +0000
@@ -47,7 +47,7 @@
       end
    end;
 if Lag > 100 then Lag:= 100
-else if (GameType = gmtSave) or (fastUntilLag and (GameType = gmtNet)) then Lag:= 2500;
+else if (GameType = gmtSave)then Lag:= 2500;
 if (GameType = gmtDemo) and isSpeed then Lag:= Lag * 10;
 
 i:= 1;
--- a/hedgewars/uStats.pas	Mon Jan 19 15:53:23 2009 +0000
+++ b/hedgewars/uStats.pas	Mon Jan 19 18:15:31 2009 +0000
@@ -62,7 +62,7 @@
 if CurrentHedgehog^.Team^.Clan = PHedgehog(Gear^.Hedgehog)^.Team^.Clan then
 	vpHurtSameClan:= CurrentHedgehog^.Team^.voicepack
 else
-	vpHurtEnemy:= CurrentHedgehog^.Team^.voicepack;
+	vpHurtEnemy:= PHedgehog(Gear^.Hedgehog)^.Team^.voicepack;
 
 if bBetweenTurns then exit;