Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package CorsixTH for openSUSE:Factory 
checked in at 2021-07-27 14:31:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/CorsixTH (Old)
 and      /work/SRC/openSUSE:Factory/.CorsixTH.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "CorsixTH"

Tue Jul 27 14:31:59 2021 rev:7 rq:908393 version:0.65.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/CorsixTH/CorsixTH.changes        2021-07-12 
01:25:33.388991481 +0200
+++ /work/SRC/openSUSE:Factory/.CorsixTH.new.1899/CorsixTH.changes      
2021-07-27 14:32:11.859476026 +0200
@@ -1,0 +2,8 @@
+Sun Jul 25 05:13:53 UTC 2021 - Carsten Ziepke <kiel...@gmail.com>
+
+- Update to version 0.65.1
+  * Fixes a bug where the game would crash if you got the All Cured
+    trophy at the end of year awards, when loading a save from 0.64
+    or earlier.
+
+-------------------------------------------------------------------

Old:
----
  CorsixTH-0.65.tar.gz

New:
----
  CorsixTH-0.65.1.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ CorsixTH.spec ++++++
--- /var/tmp/diff_new_pack.lLun3v/_old  2021-07-27 14:32:12.559475332 +0200
+++ /var/tmp/diff_new_pack.lLun3v/_new  2021-07-27 14:32:12.559475332 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           CorsixTH
-Version:        0.65
+Version:        0.65.1
 Release:        0
 Summary:        Theme Hospital clone
 License:        MIT

++++++ CorsixTH-0.65.tar.gz -> CorsixTH-0.65.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.65/CorsixTH/Lua/app.lua 
new/CorsixTH-0.65.1/CorsixTH/Lua/app.lua
--- old/CorsixTH-0.65/CorsixTH/Lua/app.lua      2021-06-17 04:16:54.000000000 
+0200
+++ new/CorsixTH-0.65.1/CorsixTH/Lua/app.lua    2021-07-17 16:07:18.000000000 
+0200
@@ -1485,7 +1485,7 @@
   if ver > 156 then
     return "Trunk"
   elseif ver > 138 then
-    return "v0.65"
+    return "v0.65.1"
   elseif ver > 134 then
     return "v0.64"
   elseif ver > 127 then
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.65/CorsixTH/Lua/map.lua 
new/CorsixTH-0.65.1/CorsixTH/Lua/map.lua
--- old/CorsixTH-0.65/CorsixTH/Lua/map.lua      2021-06-17 04:16:54.000000000 
+0200
+++ new/CorsixTH-0.65.1/CorsixTH/Lua/map.lua    2021-07-17 16:07:18.000000000 
+0200
@@ -43,6 +43,7 @@
   -- Difficulty of the level (string) "easy", "full", "hard".
   -- Use map:getDifficulty() to query the value.
   self.difficulty = nil
+  self.hotfix1 = true
 end
 
 local flag_cache = {}
@@ -738,6 +739,24 @@
   return self.parcelTileCounts[parcel] or 0
 end
 
+--! Apply a hotfix to this save..
+--! Note this is only temporary as a backport for 0.65
+--!param num (int) the hotfix number
+--!param issue (num) the issue number
+function Map:applyHotfix(num, issue)
+  assert((num and issue), "Hotfix parameters given are undefined!")
+  if num == 1 then
+    self.level_config.awards_trophies.TrophyAllCuredBonus = 20000
+    self.level_config.awards_trophies.AllCuresBonus = 5000
+    self.hotfix1 = true
+    local string = "Game successfully patched with hotfix " .. num .. " (Issue 
#" .. issue .. ")"
+    self.app.world:gameLog(string)
+  else
+    local string = "Hotfix " .. num .. " not found. The game may result in 
unexpected behavior."
+    self.app.world:gameLog(string)
+  end
+end
+
 function Map:afterLoad(old, new)
   if old < 6 then
     self.parcelTileCounts = {}
@@ -802,4 +821,8 @@
       self:setCellFlags(58, 72, {passable = false})
     end
   end
+  -- 0.65 has a hotfix, make sure we patch any affected games
+  if not self.hotfix1 then
+    self:applyHotfix(1, 2004)
+  end
 end
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CorsixTH-0.65/CorsixTH/com.corsixth.corsixth.metainfo.xml 
new/CorsixTH-0.65.1/CorsixTH/com.corsixth.corsixth.metainfo.xml
--- old/CorsixTH-0.65/CorsixTH/com.corsixth.corsixth.metainfo.xml       
2021-06-17 04:16:54.000000000 +0200
+++ new/CorsixTH-0.65.1/CorsixTH/com.corsixth.corsixth.metainfo.xml     
2021-07-17 16:07:18.000000000 +0200
@@ -26,6 +26,15 @@
   </provides>
   <launchable type="desktop-id">com.corsixth.corsixth.desktop</launchable>
   <releases>
+    <release version="0.65.1" date="2021-07-17" type="stable">
+      <description>
+        <p>This is a hotfix release of 0.65 and replaces the June 2021 
release</p>
+        <ul>
+          <li>Fixes a bug where the game would crash if you got the All Cured 
trophy at the
+            end of year awards, when loading a save from 0.64 or earlier</li>
+        </ul>
+      </description>
+    </release>
     <release version="0.65" date="2021-06-19" type="stable">
       <description>
         <p>New Features:</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.65/changelog.txt 
new/CorsixTH-0.65.1/changelog.txt
--- old/CorsixTH-0.65/changelog.txt     2021-06-17 04:16:54.000000000 +0200
+++ new/CorsixTH-0.65.1/changelog.txt   2021-07-17 16:07:18.000000000 +0200
@@ -1,4 +1,11 @@
 -------------------------------------------------------------------------------
+Version 0.65.1 - released July 2021
+-------------------------------------------------------------------------------
+# This is a hotfix release of 0.65 and replaces the June 2021 release
+* Fixes a bug where the game would crash if you got the All Cured trophy at the
+  end of year awards, when loading a save from 0.64 or earlier
+
+-------------------------------------------------------------------------------
 Version 0.65 - released June 2021
 -------------------------------------------------------------------------------
 # New Features/Enhancements

Reply via email to