mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Enter popup await mode only if there is an active popup
This commit is contained in:
@ -235,10 +235,9 @@ void CWindowObject::showAll(Canvas & to)
|
||||
CMessage::drawBorder(color, to.getInternalSurface(), pos.w+28, pos.h+29, pos.x-14, pos.y-15);
|
||||
}
|
||||
|
||||
void CWindowObject::closePopupWindow()
|
||||
bool CWindowObject::isPopupWindow() const
|
||||
{
|
||||
close();
|
||||
CCS->curh->show();
|
||||
return options & RCLICK_POPUP;
|
||||
}
|
||||
|
||||
CStatusbarWindow::CStatusbarWindow(int options, std::string imageName, Point centerAt) : CWindowObject(options, imageName, centerAt)
|
||||
|
Reference in New Issue
Block a user