mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-26 22:57:00 +02:00
Missing diff from previous commit.
This commit is contained in:
parent
e5203db83c
commit
facb984654
@ -477,11 +477,9 @@ void CMapHandler::init()
|
|||||||
timeHandler th;
|
timeHandler th;
|
||||||
th.getDif();
|
th.getDif();
|
||||||
|
|
||||||
// Size of visible terrain. TODO: change settings.txt to add that
|
// Size of visible terrain.
|
||||||
// infor and remove the old stuff in conf file (tilesW, tileH,
|
mapW = conf.go()->ac.advmapW;
|
||||||
// TrimX, TrimY)
|
mapH = conf.go()->ac.advmapH;
|
||||||
mapW = conf.go()->ac.tilesW * 32 - conf.go()->ac.advmapTrimX;
|
|
||||||
mapH = conf.go()->ac.tilesH * 32 - conf.go()->ac.advmapTrimY;
|
|
||||||
|
|
||||||
// Total number of visible tiles. Substract the center tile, then
|
// Total number of visible tiles. Substract the center tile, then
|
||||||
// compute the number of tiles on each side, and reassemble.
|
// compute the number of tiles on each side, and reassemble.
|
||||||
|
Loading…
Reference in New Issue
Block a user