R809 - newcham message reorganization
Add a param to newcham() to let it print "The oldmon turns into a newmon!" rather than always printing this externally. Should ensure a good ordering of the messages. Also put some special name handling in one place and catch a couple cases where "saddled" was printed, resulting in funny messages.
This commit is contained in:
@@ -1453,7 +1453,7 @@ register struct attack *mattk;
|
||||
mdef->data != &mons[PM_SALAMANDER] &&
|
||||
mdef->data != &mons[PM_GREEN_SLIME]) {
|
||||
You("turn %s into slime.", mon_nam(mdef));
|
||||
(void) newcham(mdef, &mons[PM_GREEN_SLIME], FALSE);
|
||||
(void) newcham(mdef, &mons[PM_GREEN_SLIME], FALSE, FALSE);
|
||||
tmp = 0;
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user