mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-17 00:07:41 +02:00
* fixed r-click on tavern hero crash
* fixed removing one-week bonuses * added keybindings for components in selection window (eg. for treasure chest dialog) * HANDLE_EXCEPTIONC macro will rethrow exception after logging
This commit is contained in:
@ -476,7 +476,7 @@ void CGameState::applyNL(IPack * pack)
|
||||
h->bonuses.remove_if(HeroBonus::OneDay);
|
||||
if(getDate(1) == 7) //new week
|
||||
BOOST_FOREACH(CGHeroInstance *h, map->heroes)
|
||||
h->bonuses.remove_if(HeroBonus::OneDay);
|
||||
h->bonuses.remove_if(HeroBonus::OneWeek);
|
||||
break;
|
||||
}
|
||||
case 102: //set resource amount
|
||||
|
Reference in New Issue
Block a user