mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
blink only accessible scenarios
This commit is contained in:
@@ -542,6 +542,12 @@ void CBonusSelection::CRegion::updateState(bool disableAll)
|
|||||||
|
|
||||||
void CBonusSelection::CRegion::tick(uint32_t msPassed)
|
void CBonusSelection::CRegion::tick(uint32_t msPassed)
|
||||||
{
|
{
|
||||||
|
if(!accessible)
|
||||||
|
{
|
||||||
|
removeUsedEvents(TIME);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
blinkAnim.msPassed += msPassed;
|
blinkAnim.msPassed += msPassed;
|
||||||
if(blinkAnim.msPassed >= 150)
|
if(blinkAnim.msPassed >= 150)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user