edit &c: Suppress bulletins for acts of god to himself
Deities get bulletins when they use edit, give, setsector and setresource on stuff they own. Except for POGO, who can't own anything. The bulletins are annoying; suppress them. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
e507486fc1
commit
d4faa89c45
3 changed files with 20 additions and 18 deletions
|
@ -74,7 +74,7 @@ give(void)
|
|||
m = n + amt;
|
||||
sect.sct_item[ip->i_uid] = m;
|
||||
putsect(§);
|
||||
if (sect.sct_own != 0 && m != n) {
|
||||
if (sect.sct_own != 0 && sect.sct_own != player->cnum && m != n) {
|
||||
if (m > n) {
|
||||
if (opt_GODNEWS
|
||||
&& getnatp(sect.sct_own)->nat_stat != STAT_GOD)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue