Przeglądaj źródła

Merge master -> develop

Ivan Savenko 2 lat temu
rodzic
commit
9c59025db0

+ 32 - 0
ChangeLog.md

@@ -1,3 +1,35 @@
+# 1.1.0 -> 1.1.1
+
+### GENERAL:
+* Fixed missing sound in Polish version from gog.com 
+* Fixed positioning of main menu buttons in localized versions of H3
+* Fixed crash on transferring artifact to commander
+* Fixed game freeze on receiving multiple artifact assembly dialogs after combat
+* Fixed potential game freeze on end of music playback
+* macOS/iOS: fixed sound glitches
+* Android: upgraded version of SDL library
+* Android: reworked right click gesture and relative pointer mode
+* Improved map loading speed
+* Ubuntu PPA: game will no longer crash on assertion failure
+
+### ADVENTURE MAP:
+* Fixed hero movement lag in single-player games
+* Fixed number of drowned troops on visiting Sirens to match H3
+* iOS: pinch gesture visits current object (Spacebar behavior) instead of activating in-game console
+
+### TOWNS:
+* Fixed displaying growth bonus from Statue of Legion
+* Growth bonus tooltip ordering now matches H3
+* Buy All Units dialog will now buy units starting from the highest level
+
+### LAUNCHER:
+* Local mods can be disabled or uninstalled
+* Fixed styling of Launcher interface
+
+### MAP EDITOR:
+* Fixed saving of roads and rivers
+* Fixed placement of heroes on map
+
 # 1.0.0 -> 1.1.0
 
 ### GENERAL:

+ 1 - 1
cmake_modules/VersionDefinition.cmake

@@ -10,4 +10,4 @@ add_definitions(
 set(APP_SHORT_VERSION "${VCMI_VERSION_MAJOR}.${VCMI_VERSION_MINOR}")
 if(NOT VCMI_VERSION_PATCH EQUAL 0)
 	string(APPEND APP_SHORT_VERSION ".${VCMI_VERSION_PATCH}")
-endif()
+endif()

+ 7 - 1
debian/changelog

@@ -2,8 +2,14 @@ vcmi (1.2.0) jammy; urgency=medium
 
   * New upstream release
 
- -- Ivan Savenko <[email protected]>  Fri, 23 Dec 2022 16:00:00 +0200
+ -- Ivan Savenko <[email protected]>  Sat, 04 Feb 2023 16:00:00 +0200
  
+vcmi (1.1.1) jammy; urgency=medium
+
+  * New upstream release
+
+ -- Ivan Savenko <[email protected]>  Fri, 03 Feb 2023 12:00:00 +0200
+
 vcmi (1.1.0) jammy; urgency=medium
 
   * New upstream release

+ 2 - 1
launcher/eu.vcmi.VCMI.metainfo.xml

@@ -38,7 +38,8 @@
 	<url type="bugtracker">https://github.com/vcmi/vcmi/issues</url>
 	<url type="faq">https://vcmi.eu/faq/</url>
 	<releases>
-		<release version="1.2.0" date="2022-12-24" type="development" />
+		<release version="1.2.0" date="2023-02-04" type="development" />
+		<release version="1.1.1" date="2023-02-03" />
 		<release version="1.1.0" date="2022-12-23" />
 		<release version="1.0.0" date="2022-09-11" />
 		<release version="0.99" date="2016-11-01" />

+ 4 - 3
mapeditor/inspector/inspector.cpp

@@ -110,7 +110,8 @@ void Initializer::initialize(CGLighthouse * o)
 
 void Initializer::initialize(CGHeroInstance * o)
 {
-	if(!o) return;
+	if(!o)
+		return;
 	
 	o->tempOwner = defaultPlayer;
 	if(o->ID == Obj::PRISON)
@@ -120,9 +121,9 @@ void Initializer::initialize(CGHeroInstance * o)
 	{
 		for(auto t : VLC->heroh->objects)
 		{
-			if(t->heroClass == VLC->heroh->classes.objects[o->subID].get())
+			if(t->heroClass->getId() == HeroClassID(o->subID))
 			{
-				o->type = VLC->heroh->objects[o->subID];
+				o->type = t;
 				break;
 			}
 		}