1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-24 00:36:29 +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

@@ -242,7 +242,10 @@ void CGeneralTextHandler::load()
{
loadToIt(temp,buf,it,3);
temp = temp.substr(1,temp.length()-2);
mines[i++].second = temp;
if(i < mines.size())
mines[i++].second = temp;
else
tlog2 << "Warning - too much entries in MINEEVNT. Omitting this one: " << temp << std::endl;
}
tlog5 << "\t\tReading RESTYPES \n";