mirror of
https://github.com/vcmi/vcmi.git
synced 2025-03-29 21:56:54 +02:00
probably fixed problem with FoW on minimap on L-sized maps
This commit is contained in:
parent
77fadf561d
commit
a997c41f5c
@ -212,8 +212,8 @@ void CMinimap::deactivate()
|
||||
}
|
||||
void CMinimap::showTile(int3 pos)
|
||||
{
|
||||
int mw = map[0]->w, mh = map[0]->h,
|
||||
wo = mw/CGI->mh->sizes.x, ho = mh/CGI->mh->sizes.y;
|
||||
int mw = map[0]->w, mh = map[0]->h;
|
||||
double wo = ((double)mw)/CGI->mh->sizes.x, ho = ((double)mh)/CGI->mh->sizes.y;
|
||||
for (int ii=0; ii<wo; ii++)
|
||||
{
|
||||
for (int jj=0; jj<ho; jj++)
|
||||
|
Loading…
x
Reference in New Issue
Block a user