1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-05 00:49:09 +02:00

* our changes

* centered spellBook
* magic arrow animation fits battle window
* preventing different battle animations from getting out of appropriate rect
This commit is contained in:
mateuszb
2009-01-07 19:40:19 +00:00
parent 847a4f222c
commit fa11c06bdc
6 changed files with 51 additions and 42 deletions

View File

@ -199,7 +199,7 @@ void CMapHandler::roadsRiverTerrainInit()
}
for (int i=0-Woff;i<ttiles.size()-Woff;i++)
{
for (int j=0-Hoff;j<CGI->mh->map->height+Hoff;j++)
for (int j=0-Hoff;j<(int)CGI->mh->map->height+Hoff;j++)
ttiles[i][j].resize(CGI->mh->map->twoLevel+1,0);
}