1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-12 02:28:11 +02:00

CGMonolith: add text dialog when player visit one-way monolith exit

This commit is contained in:
ArseniyShestakov 2015-03-08 18:07:06 +03:00
parent afac28a2f5
commit 6d77322d6a

View File

@ -907,6 +907,8 @@ void CGMonolith::onHeroVisit( const CGHeroInstance * h ) const
else if(getRandomExit(h) == ObjectInstanceID())
logGlobal->warnStream() << "All exits blocked for monolith "<< id << " (obj at " << pos << ") :(";
}
else
showInfoDialog(h, 70, 0);
cb->showTeleportDialog(&td);
}