From 728223b59f09d1460a092b5fd467c3191fcb46c9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 30 Dec 2016 17:08:56 +0300 Subject: Improve drawing map layers. Pre cache repeated tiles count and width. --- src/net/ea/maprecv.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/net') 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(); } } -- cgit v1.2.3-70-g09d2