summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e92c0a7..2441338 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2575,6 +2575,16 @@ int main(int argc, char *argv[])
{
sprintf(nametext, "%s (%s)", ptypes[cr&0xFF].name, gmenu[parts[cr>>8].ctype].name);
}
+ else if ((cr&0xFF)==PT_LAVA && parts[cr>>8].ctype)
+ {
+ char lowername[6];
+ strcpy(lowername, ptypes[parts[cr>>8].ctype].name);
+ int ix;
+ for (ix = 0; lowername[ix]; ix++)
+ lowername[ix] = tolower(lowername[ix]);
+
+ sprintf(nametext, "Molten %s", lowername);
+ }
else if (DEBUG_MODE)
{
int tctype = parts[cr>>8].ctype;