1
0
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:
Michał W. Urbańczyk
2009-07-17 21:53:28 +00:00
parent 01a222066b
commit d1d2823c58
9 changed files with 20 additions and 14 deletions

View File

@ -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();