… | |
… | |
92 | * Return value: 1 if money was destroyed, 0 if not. |
92 | * Return value: 1 if money was destroyed, 0 if not. |
93 | */ |
93 | */ |
94 | static int |
94 | static int |
95 | apply_id_altar (object *money, object *altar, object *pl) |
95 | apply_id_altar (object *money, object *altar, object *pl) |
96 | { |
96 | { |
97 | dynbuf_text buf; |
97 | dynbuf_text &buf = msg_dynbuf; buf.clear (); |
98 | |
98 | |
99 | if (!pl || pl->type != PLAYER) |
99 | if (!pl || pl->type != PLAYER) |
100 | return 0; |
100 | return 0; |
101 | |
101 | |
102 | /* Check for MONEY type is a special hack - it prevents 'nothing needs |
102 | /* Check for MONEY type is a special hack - it prevents 'nothing needs |