mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
* further fight with hanged scroll tab
* fixed r-click on FoW crash * fixed crash on opening tavern window after load * fixed recruiting new heroes after load * fixed crash on loading map with spell scrolls * fixed more crashes * displpaying difficulty level of saved game * added support for Library of Enlightenment * added notification when saving is done
This commit is contained in:
4
map.cpp
4
map.cpp
@@ -1418,6 +1418,7 @@ void Mapa::readObjects( unsigned char * bufor, int &i)
|
||||
case 32: // Garden of Revelation
|
||||
case 100: //Learning Stone
|
||||
case 102: //Tree of Knowledge
|
||||
case 41: //Library of Enlightenment
|
||||
{
|
||||
nobj = new CGVisitableOPH();
|
||||
break;
|
||||
@@ -1584,6 +1585,9 @@ void Mapa::readObjects( unsigned char * bufor, int &i)
|
||||
{
|
||||
art->army = readCreatureSet(bufor,i,7,(version>RoE));
|
||||
}
|
||||
}
|
||||
if(areSettings || defInfo->id==93)
|
||||
{
|
||||
art->spell = readNormalNr(bufor,i);
|
||||
i+=4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user