"Pipe with ..." message when pipe is filled.
This commit is contained in:
parent
859022ccb1
commit
73460283a2
10
src/main.c
10
src/main.c
@ -2724,6 +2724,16 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
sprintf(nametext, "Molten %s", lowername);
|
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)
|
else if (DEBUG_MODE)
|
||||||
{
|
{
|
||||||
int tctype = parts[cr>>8].ctype;
|
int tctype = parts[cr>>8].ctype;
|
||||||
|
Loading…
Reference in New Issue
Block a user