summaryrefslogtreecommitdiff
path: root/src/resources/map/map.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/map/map.cpp')
-rw-r--r--src/resources/map/map.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp
index c7eed522d..18e3dc7f5 100644
--- a/src/resources/map/map.cpp
+++ b/src/resources/map/map.cpp
@@ -331,7 +331,7 @@ void Map::draw(Graphics *const graphics, int scrollX, int scrollY)
// Make sure actors are sorted ascending by Y-coordinate
// so that they overlap correctly
BLOCK_START("Map::draw sort")
- cilk_spawn mActors.sort(actorCompare);
+ mActors.sort(actorCompare);
BLOCK_END("Map::draw sort")
// update scrolling of all ambient layers
@@ -379,8 +379,6 @@ void Map::draw(Graphics *const graphics, int scrollX, int scrollY)
}
#endif
- cilk_sync;
-
if (mDrawLayersFlags == MapType::SPECIAL3
|| mDrawLayersFlags == MapType::SPECIAL4
|| mDrawLayersFlags == MapType::BLACKWHITE)