Corrected an error that prematurely exists the substrate search

if a shielded type is found, preventing any other substrate types
from being discovered and processed.
This commit is contained in:
Tim Edwards 2021-08-25 21:40:27 -04:00
parent f428b7c792
commit 88d672c7a5
1 changed files with 1 additions and 1 deletions

View File

@ -3769,7 +3769,7 @@ extSubsFunc(tile, arg)
if (TTMaskIntersect(&DBPlaneTypes[pNum], smask))
if (DBSrPaintArea((Tile *) NULL, arg->fra_def->cd_planes[pNum],
&tileArea, smask, extSubsFunc3, (ClientData)NULL) != 0)
return (1);
return (0);
/* Mark this tile as pending and push it */
PUSHTILE(tile, arg->fra_pNum);