1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-06-17 00:07:41 +02:00
Fixed crash on closing creature info window when upgrade was possible ( http://forum.vcmi.eu/viewtopic.php?p=4669#4669 ).
This commit is contained in:
Michał W. Urbańczyk
2010-05-30 11:48:24 +00:00
parent 585bc8ae6b
commit abf54deaa3
4 changed files with 12 additions and 9 deletions

View File

@ -1268,6 +1268,10 @@ void CPlayerInterface::update()
if(terminate_cond.get())
return;
//in some conditions we may receive calls before selection is initialized - we must ignore them
if(!adventureInt->selection)
return;
//if there are any waiting dialogs, show them
if(dialogs.size() && !showingDialog->get())
{