merge in 0.9.25 fixes
authornemo
Thu, 13 Dec 2018 10:51:07 -0500
changeset 14426 94f10f69fe76
parent 14424 b33d1c694b1d (current diff)
parent 14425 1ffa8bfc5c58 (diff)
child 14429 2c4f71779302
child 14430 bf0ec13a21ea
merge in 0.9.25 fixes
gameServer/CoreTypes.hs
--- a/gameServer/CoreTypes.hs	Thu Dec 13 09:50:24 2018 -0500
+++ b/gameServer/CoreTypes.hs	Thu Dec 13 10:51:07 2018 -0500
@@ -312,8 +312,8 @@
         True
         False
         "<h2><p align=center><a href=\"https://www.hedgewars.org/\">https://www.hedgewars.org/</a></p></h2>"
-        "<font color=yellow><h3 align=center>Hedgewars 0.9.24 is out! Please update.</h3><p align=center><a href=https://hedgewars.org/download.html>Download page here</a></font>"
-        55 -- latestReleaseVersion
+        "<font color=yellow><h3 align=center>Hedgewars 0.9.25 is out! Please update.</h3><p align=center><a href=https://hedgewars.org/download.html>Download page here</a></font>"
+        57 -- latestReleaseVersion
         41 -- earliestCompatibleVersion
         46631
         ""
--- a/hedgewars/hwengine.pas	Thu Dec 13 09:50:24 2018 -0500
+++ b/hedgewars/hwengine.pas	Thu Dec 13 10:51:07 2018 -0500
@@ -140,14 +140,12 @@
     if flagMakeCapture then
         begin
         flagMakeCapture:= false;
+        {$IFNDEF PAS2C}
         if flagDumpLand then
              s:= '/Screenshots/mapdump_'
         else s:= '/Screenshots/hw_';
-        {$IFDEF PAS2C}
         s:= s + inttostr(GameTicks);
-        {$ELSE}
         s:= s + FormatDateTime('YYYY-MM-DD_HH-mm-ss', Now()) + inttostr(GameTicks);
-        {$ENDIF}
 
         // flash
         playSound(sndShutter);
@@ -163,6 +161,7 @@
             WriteLnToConsole('Screenshot failed.');
             AddChatString(#5 + 'screen capture failed (lack of memory or write permissions)');
             end
+        {$ENDIF}
         end;
 end;