mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
* fixes for glitches in garrisons in non 800x600 resolutions
* fixed timed events * in recruitment window upgraded creatures will be selected by default * bumped version number * spell points won't be negative
This commit is contained in:
@ -2566,6 +2566,7 @@ bool CGameHandler::makeCustomAction( BattleAction &ba )
|
||||
|
||||
void CGameHandler::handleTimeEvents()
|
||||
{
|
||||
gs->map->events.sort(evntCmp);
|
||||
while(gs->map->events.size() && gs->map->events.front()->firstOccurence+1 == gs->day)
|
||||
{
|
||||
CMapEvent *ev = gs->map->events.front();
|
||||
|
Reference in New Issue
Block a user