mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-19 00:17:56 +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:
@ -1913,9 +1913,13 @@ void Mapa::readEvents( unsigned char * bufor, int &i )
|
||||
else
|
||||
ne->humanAffected = true;
|
||||
ne->computerAffected = bufor[i]; ++i;
|
||||
ne->firstOccurence = bufor[i]; ++i;
|
||||
ne->firstOccurence = readNormalNr(bufor,i, 2); i+=2;
|
||||
ne->nextOccurence = bufor[i]; ++i;
|
||||
i+=18;
|
||||
|
||||
char unknown[17];
|
||||
memcpy(unknown, bufor+i, 17);
|
||||
i+=17;
|
||||
|
||||
events.push_back(ne);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user