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:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user