1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-22 22:13:35 +02:00

Fix reading of dimensions of h3 map objects

This commit is contained in:
Ivan Savenko 2023-12-11 21:11:23 +02:00
parent 28f4353fe9
commit 9385ae76c2
2 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@
* Fixed slider scrolling to maximum value when clicking on "scroll right" button
* Fixed events and seer huts not activating in some cases
* Fixed bug leading to Artifact Merchant selling Grails in loaded saved games
* Fixed placement of objects in random maps near the top border of the map
* Creatures under Slayer spell will no longer deal additional damage to creatures not affected by Slayer
* Description of a mod in Launcher will no longer be converted to lower-case
* Game will no longer fail to generate random map when AI-only players option is set to non-zero value

View File

@ -180,7 +180,7 @@ void ObjectTemplate::readTxt(CLegacyConfigParser & parser)
void ObjectTemplate::readMsk()
{
ResourcePath resID(animationFile.getName(), EResType::MASK);
ResourcePath resID("Sprites/" + animationFile.getName(), EResType::MASK);
if (CResourceHandler::get()->existsResource(resID))
{