projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16eb9ac
)
better messages when attempting to wipe SAFE attributes
author
Ari Johnson
<ari@cobramush.org>
Tue, 20 Feb 2007 15:58:34 +0000
(15:58 +0000)
committer
Ari Johnson
<ari@cobramush.org>
Tue, 20 Feb 2007 15:58:34 +0000
(15:58 +0000)
src/attrib.c
patch
|
blob
|
history
diff --git
a/src/attrib.c
b/src/attrib.c
index 29ed6b7636072937420bc48e689ada1d3c49fffd..9300272fb600b69595a533a181ce013ae1136eb1 100644
(file)
--- a/
src/attrib.c
+++ b/
src/attrib.c
@@
-1771,8
+1771,8
@@
do_set_atr(dbref thing, const char *RESTRICT atr, const char *RESTRICT s,
(flags & 0x02) ? AF_NOPROG : NOTHING)
: atr_clr(thing, name, player);
if (res == AE_SAFE) {
- notify
(player
,
-
T("That attribute is SAFE. Set it !SAFE to modify it.")
);
+ notify
_format(player, T("Attribute %s is SAFE. Set it !SAFE to modify it.")
,
+
name
);
return 0;
} else if (res == AE_BADNAME) {
notify(player, T("That's not a very good name for an attribute."));