projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a04a11
)
Fix powers-related bug in @chzone
author
Ari Johnson
<ari@theari.com>
Tue, 25 Sep 2012 00:21:49 +0000
(20:21 -0400)
committer
Ari Johnson
<ari@theari.com>
Tue, 25 Sep 2012 00:21:49 +0000
(20:21 -0400)
Fixes #272
src/set.c
patch
|
blob
|
history
diff --git
a/src/set.c
b/src/set.c
index 214b2c952046a513140fde4b0de63672ce03d86d..5710656a417126b0c1a0da1025b2ef846e3b4c21 100644
(file)
--- a/
src/set.c
+++ b/
src/set.c
@@
-437,6
+437,7
@@
do_chzone(dbref player, char const *name, char const *newobj, int noisy)
*/
if(DPBITS(thing))
mush_free(DPBITS(thing), "POWER_SPOT"); /* Wipe Powers */
+ DPBITS(thing) = NULL;
} else {
if (noisy && (zone != NOTHING)) {
if (Admin(thing) && noisy)