1
0
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:
Michał W. Urbańczyk
2009-02-07 13:28:23 +00:00
parent 811e6c0945
commit 131c220685
9 changed files with 129 additions and 25 deletions

View File

@ -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