Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package CorsixTH for openSUSE:Factory 
checked in at 2025-08-26 14:57:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/CorsixTH (Old)
 and      /work/SRC/openSUSE:Factory/.CorsixTH.new.30751 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "CorsixTH"

Tue Aug 26 14:57:28 2025 rev:12 rq:1301403 version:0.69.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/CorsixTH/CorsixTH.changes        2025-08-05 
14:21:09.464914620 +0200
+++ /work/SRC/openSUSE:Factory/.CorsixTH.new.30751/CorsixTH.changes     
2025-08-26 14:57:44.668267654 +0200
@@ -1,0 +2,8 @@
+Tue Aug 19 04:41:03 UTC 2025 - Carsten Ziepke <[email protected]>
+
+- Update to version 0.69.1:
+  * Bug Fixes
+    - Fixed a crash when placing staff in a room while a patient
+      is being treated.
+
+-------------------------------------------------------------------

Old:
----
  CorsixTH-0.69.0.tar.gz

New:
----
  CorsixTH-0.69.1.tar.gz

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

Other differences:
------------------
++++++ CorsixTH.spec ++++++
--- /var/tmp/diff_new_pack.nWkEM0/_old  2025-08-26 14:57:45.240291611 +0200
+++ /var/tmp/diff_new_pack.nWkEM0/_new  2025-08-26 14:57:45.248291947 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           CorsixTH
-Version:        0.69.0
+Version:        0.69.1
 Release:        0
 Summary:        Theme Hospital clone
 License:        MIT

++++++ CorsixTH-0.69.0.tar.gz -> CorsixTH-0.69.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.69.0/CorsixTH/Lua/app.lua 
new/CorsixTH-0.69.1/CorsixTH/Lua/app.lua
--- old/CorsixTH-0.69.0/CorsixTH/Lua/app.lua    2025-07-20 00:44:11.000000000 
+0200
+++ new/CorsixTH-0.69.1/CorsixTH/Lua/app.lua    2025-08-08 21:15:08.000000000 
+0200
@@ -28,7 +28,7 @@
 -- and add compatibility code in afterLoad functions
 -- Recommended: Also replace/Update the summary comment
 
-local SAVEGAME_VERSION = 220 -- CorsixTH 0.69.0
+local SAVEGAME_VERSION = 221 -- CorsixTH 0.69.1
 
 class "App"
 
@@ -1718,6 +1718,7 @@
   {major = 0, minor = 69, revision = 0, patch = "-beta2", version = 218},
   {major = 0, minor = 69, revision = 0, patch = "-rc1", version = 219},
   {major = 0, minor = 69, revision = 0, patch = "", version = 220},
+  {major = 0, minor = 69, revision = 1, patch = "", version = 221},
 }
 
 --! Retrieve the current savegame version as defined in the application.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CorsixTH-0.69.0/CorsixTH/Lua/entities/humanoids/staff.lua 
new/CorsixTH-0.69.1/CorsixTH/Lua/entities/humanoids/staff.lua
--- old/CorsixTH-0.69.0/CorsixTH/Lua/entities/humanoids/staff.lua       
2025-07-20 00:44:11.000000000 +0200
+++ new/CorsixTH-0.69.1/CorsixTH/Lua/entities/humanoids/staff.lua       
2025-08-08 21:15:08.000000000 +0200
@@ -510,17 +510,18 @@
 end
 
 --! Check whether staff are meandering
---"meander" action always insert "move" or "idle" action before itself.
---so when humanoid "meandering" his action queue usually looks like:
---[1 idle, 2 meander] or [1 walk, 2 meander].
 --!return true if staff currently has a meander action
 function Staff:isMeandering()
-  if ((self.action_queue[1].name == "idle") or
-    (self.action_queue[1].name == "walk")) and
-    (self.action_queue[2].name == "meander") then
-    return true
-  end
-  return false
+  if #self.action_queue < 2 then return false end
+
+  -- "meander" action always insert "move" or "idle" action before itself.
+  -- so when humanoid "meandering" his action queue usually looks like:
+  -- [1 idle, 2 meander] or [1 walk, 2 meander].
+  local idle_is_first = self.action_queue[1].name == "idle"
+  local walk_is_first = self.action_queue[1].name == "walk"
+  local meander_is_second = self.action_queue[2].name == "meander"
+
+  return (idle_is_first or walk_is_first) and meander_is_second
 end
 
 -- Function to decide if staff currently has nothing to do and can be called 
to a room where they're needed
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/CorsixTH-0.69.0/CorsixTH/com.corsixth.corsixth.metainfo.xml 
new/CorsixTH-0.69.1/CorsixTH/com.corsixth.corsixth.metainfo.xml
--- old/CorsixTH-0.69.0/CorsixTH/com.corsixth.corsixth.metainfo.xml     
2025-07-20 00:44:11.000000000 +0200
+++ new/CorsixTH-0.69.1/CorsixTH/com.corsixth.corsixth.metainfo.xml     
2025-08-08 21:15:08.000000000 +0200
@@ -20,6 +20,15 @@
   </provides>
   <launchable type="desktop-id">com.corsixth.corsixth.desktop</launchable>
   <releases>
+    <release version="0.69.1" date="2025-08-16" type="stable">
+      <description>
+        <p>Bug fixes:</p>
+        <ul>
+          <li>Fixed a crash when placing staff in a room while a patient is 
being
+            treated</li>
+        </ul>
+      </description>
+    </release>
     <release version="0.69.0" date="2025-07-26" type="stable">
       <description>
         <p>New Features/Enhancements:</p>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.69.0/CorsixTH/corsix-th.6 
new/CorsixTH-0.69.1/CorsixTH/corsix-th.6
--- old/CorsixTH-0.69.0/CorsixTH/corsix-th.6    2025-07-20 00:44:11.000000000 
+0200
+++ new/CorsixTH-0.69.1/CorsixTH/corsix-th.6    2025-08-08 21:15:08.000000000 
+0200
@@ -95,4 +95,4 @@
 CorsixTH is available under the MIT license.
 .Pp
 For the full license text see:
-.Lk https://raw.githubusercontent.com/CorsixTH/CorsixTH/v0.69.0/LICENSE.txt
+.Lk https://raw.githubusercontent.com/CorsixTH/CorsixTH/v0.69.1/LICENSE.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.69.0/LevelEdit/.project 
new/CorsixTH-0.69.1/LevelEdit/.project
--- old/CorsixTH-0.69.0/LevelEdit/.project      2025-07-20 00:44:11.000000000 
+0200
+++ new/CorsixTH-0.69.1/LevelEdit/.project      2025-08-08 21:15:08.000000000 
+0200
@@ -14,4 +14,15 @@
        <natures>
                <nature>org.eclipse.jdt.core.javanature</nature>
        </natures>
+       <filteredResources>
+               <filter>
+                       <id>1754626093468</id>
+                       <name></name>
+                       <type>30</type>
+                       <matcher>
+                               
<id>org.eclipse.core.resources.regexFilterMatcher</id>
+                               
<arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
+                       </matcher>
+               </filter>
+       </filteredResources>
 </projectDescription>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.69.0/WindowsInstaller/Win32Script.nsi 
new/CorsixTH-0.69.1/WindowsInstaller/Win32Script.nsi
--- old/CorsixTH-0.69.0/WindowsInstaller/Win32Script.nsi        2025-07-20 
00:44:11.000000000 +0200
+++ new/CorsixTH-0.69.1/WindowsInstaller/Win32Script.nsi        2025-08-08 
21:15:08.000000000 +0200
@@ -24,7 +24,7 @@
 ;---------------------------------- Definitions for the game 
-----------------------------------
 
 !define PRODUCT_NAME "CorsixTH"
-!define PRODUCT_VERSION "0.69.0"
+!define PRODUCT_VERSION "0.69.1"
 !define PRODUCT_UNINST_KEY 
"Software\Microsoft\Windows\CurrentVersion\Uninstall\${PRODUCT_NAME}"
 !define PRODUCT_UNINST_ROOT_KEY "HKLM"
 !define PRODUCT_STARTMENU_REGVAL "NSIS:StartMenuDir"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/CorsixTH-0.69.0/changelog.txt 
new/CorsixTH-0.69.1/changelog.txt
--- old/CorsixTH-0.69.0/changelog.txt   2025-07-20 00:44:11.000000000 +0200
+++ new/CorsixTH-0.69.1/changelog.txt   2025-08-08 21:15:08.000000000 +0200
@@ -1,4 +1,10 @@
 -------------------------------------------------------------------------------
+CorsixTH 0.69.1 - released August 2025
+-------------------------------------------------------------------------------
+# Bug Fixes
+* Fixed a crash when placing staff in a room while a patient is being treated.
+
+-------------------------------------------------------------------------------
 CorsixTH 0.69.0 - released July 2025
 -------------------------------------------------------------------------------
 # Features

Reply via email to