mirror of
https://github.com/RTimothyEdwards/magic.git
synced 2026-09-01 10:39:43 +02:00
Changed extraction to avoid generating an error message for devices
like resistors where a tile other than space may border the resistor device on its non-terminal sides (which is handled correctly, and should not be considered an error).
This commit is contained in:
+8
-2
@@ -2800,10 +2800,16 @@ extTransPerimFunc(bp)
|
||||
devptr = extDevFindMatch(devptr, tinside);
|
||||
if (devptr == deventry) devptr = NULL;
|
||||
}
|
||||
|
||||
if (devptr == NULL)
|
||||
{
|
||||
TxError("Error: Cannot find valid terminals on device %s!\n",
|
||||
DBTypeLongNameTbl[tinside]);
|
||||
/* Outside type is not a terminal, so return to the original */
|
||||
/* device record. NOTE: Should probably check if this device */
|
||||
/* type is a FET, as being here would indicate an error. */
|
||||
/* However, failure to find all terminals will be flagged as an */
|
||||
/* error elsewhere. */
|
||||
|
||||
extTransRec.tr_devrec = deventry;
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user