diff --git a/src/main.c b/src/main.c index 3d61f4205..6d7b0281b 100644 --- a/src/main.c +++ b/src/main.c @@ -2724,6 +2724,16 @@ int main(int argc, char *argv[]) sprintf(nametext, "Molten %s", lowername); } + else if ((cr&0xFF)==PT_PIPE && (parts[cr>>8].tmp&0xFF) > 0 && (parts[cr>>8].tmp&0xFF) < PT_NUM ) + { + char lowername[6]; + int ix; + strcpy(lowername, ptypes[parts[cr>>8].tmp&0xFF].name); + for (ix = 0; lowername[ix]; ix++) + lowername[ix] = tolower(lowername[ix]); + + sprintf(nametext, "Pipe with %s", lowername); + } else if (DEBUG_MODE) { int tctype = parts[cr>>8].ctype;