mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Fixed crash on town time event (-1 and -2 "structures" present on buildings list).
This commit is contained in:
@@ -1334,7 +1334,6 @@ void CPlayerInterface::showShipyardDialog(const IShipyard *obj)
|
||||
void CPlayerInterface::newObject( const CGObjectInstance * obj )
|
||||
{
|
||||
boost::unique_lock<boost::recursive_mutex> un(*pim);
|
||||
CGI->mh->printObject(obj);
|
||||
//we might have built a boat in shipyard in opened town screen
|
||||
if(obj->ID == 8
|
||||
&& LOCPLINT->castleInt
|
||||
|
||||
Reference in New Issue
Block a user