Corrected error in technology file reloading that causes the plow
module to fill up its rules table and start printing errors about the table overflow. Tables are now properly reset on tech reload.
This commit is contained in:
parent
53fd26d1bc
commit
34ae6ea9cc
|
|
@ -2051,6 +2051,10 @@ PlowAfterTech()
|
||||||
TileTypeBitMask mask;
|
TileTypeBitMask mask;
|
||||||
TileType i, j;
|
TileType i, j;
|
||||||
|
|
||||||
|
/* Reset rules tables */
|
||||||
|
plowSearchRulesPtr = plowSearchRulesTbl;
|
||||||
|
plowCellRulesPtr = plowCellRulesTbl;
|
||||||
|
|
||||||
/* Set the masks we will use for all the rules below */
|
/* Set the masks we will use for all the rules below */
|
||||||
allButSpace = DBAllButSpaceAndDRCBits;
|
allButSpace = DBAllButSpaceAndDRCBits;
|
||||||
allBits = DBAllTypeBits;
|
allBits = DBAllTypeBits;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue