diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-30 17:08:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-30 17:30:05 +0300 |
commit | 728223b59f09d1460a092b5fd467c3191fcb46c9 (patch) | |
tree | 489c994a98acddb29d8c1f891a27f50bbd552d2e /src/net/ea | |
parent | 0c06037af71273481958ba8587bbb4082d1ed822 (diff) | |
download | ManaVerse-728223b59f09d1460a092b5fd467c3191fcb46c9.tar.gz ManaVerse-728223b59f09d1460a092b5fd467c3191fcb46c9.tar.bz2 ManaVerse-728223b59f09d1460a092b5fd467c3191fcb46c9.tar.xz ManaVerse-728223b59f09d1460a092b5fd467c3191fcb46c9.zip |
Improve drawing map layers.
Pre cache repeated tiles count and width.
Diffstat (limited to 'src/net/ea')
-rw-r--r-- | src/net/ea/maprecv.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/ea/maprecv.cpp b/src/net/ea/maprecv.cpp index a42af3e9b..b2dd5615b 100644 --- a/src/net/ea/maprecv.cpp +++ b/src/net/ea/maprecv.cpp @@ -52,6 +52,7 @@ void MapRecv::processSetTilesType(Net::MessageIn &msg) map->setBlockMask(x, y, mask); } map->updateConditionLayers(); + map->preCacheLayers(); } } |