mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-13 01:20:34 +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:
@ -454,6 +454,11 @@ void CTerrainRect::clickRight(tribool down)
|
||||
{
|
||||
case 34:
|
||||
{
|
||||
if(!vstd::contains(graphics->heroWins,obj->subID))
|
||||
{
|
||||
tlog3 << "Warning - no infowin for hero " << obj->subID << std::endl;
|
||||
break;
|
||||
}
|
||||
CInfoPopup * ip = new CInfoPopup(graphics->heroWins[obj->subID],
|
||||
LOCPLINT->current->motion.x-graphics->heroWins[obj->subID]->w,
|
||||
LOCPLINT->current->motion.y-graphics->heroWins[obj->subID]->h,false
|
||||
@ -463,6 +468,11 @@ void CTerrainRect::clickRight(tribool down)
|
||||
}
|
||||
case 98:
|
||||
{
|
||||
if(!vstd::contains(graphics->townWins,obj->subID))
|
||||
{
|
||||
tlog3 << "Warning - no infowin for town " << obj->subID << std::endl;
|
||||
break;
|
||||
}
|
||||
CInfoPopup * ip = new CInfoPopup(graphics->townWins[obj->id],
|
||||
LOCPLINT->current->motion.x-graphics->townWins[obj->id]->w,
|
||||
LOCPLINT->current->motion.y-graphics->townWins[obj->id]->h,false
|
||||
|
Reference in New Issue
Block a user