From 07bb51946f96006190f34b0057cec29661e18aa2 Mon Sep 17 00:00:00 2001 From: Quietust Date: Thu, 29 Mar 2012 18:59:07 -0500 Subject: [PATCH] Fix bug in MapCache - squash veins with the correct priority --- library/include/modules/MapCache.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/library/include/modules/MapCache.h b/library/include/modules/MapCache.h index ac1737c41..69e38391c 100644 --- a/library/include/modules/MapCache.h +++ b/library/include/modules/MapCache.h @@ -49,10 +49,7 @@ void SquashVeins (DFCoord bcoord, mapblock40d & mb, t_blockmaterials & materials for (size_t i = 0; i < veins.size(); i++) { if (veins[i]->getassignment(x,y)) - { materials[x][y] = veins[i]->inorganic_mat; - break; - } } } }