Disable resurrection message for respawning with heResurrectalbe
authorWuzzy <almikes@aol.com>
Wed, 26 Apr 2017 19:38:34 +0200
changeset 12347 ad09d733fdb0
parent 12346 c73521104fac
child 12348 6ff01dc1ffe2
Disable resurrection message for respawning with heResurrectalbe It was often irritating. Now this message is only shown for using the resurrector utility.
hedgewars/uGearsUtils.pas
share/hedgewars/Data/Locale/en.txt
--- a/hedgewars/uGearsUtils.pas	Wed Apr 26 19:00:32 2017 +0200
+++ b/hedgewars/uGearsUtils.pas	Wed Apr 26 19:38:34 2017 +0200
@@ -777,7 +777,6 @@
         PlaySound(sndWarp);
         RenderHealth(gear^.Hedgehog^);
         s:= ansistring(gear^.Hedgehog^.Name);
-        AddCaption(FormatA(GetEventString(eidResurrected), s), cWhiteColor, capgrpMessage);
         ScriptCall('onGearResurrect', gear^.uid);
         gear^.State := gstWait;
         end;
--- a/share/hedgewars/Data/Locale/en.txt	Wed Apr 26 19:00:32 2017 +0200
+++ b/share/hedgewars/Data/Locale/en.txt	Wed Apr 26 19:38:34 2017 +0200
@@ -618,7 +618,7 @@
 02:12=%1 feels the poison
 02:12=%1 feels weaker and weaker
 
-; Hog (%1) was resurrected. Remember that hogs can also be resurrected by the game style (e.g. AI Survival)
+; Hog (%1) was resurrected by the Resurrector utility
 02:13=%1 has been resurrected
 02:13=%1 has been brought back TO hell
 02:13=%1 gets a second chance