From: Ari Johnson Date: Tue, 25 Sep 2012 00:21:49 +0000 (-0400) Subject: Fix powers-related bug in @chzone X-Git-Url: https://git.theari.com/?a=commitdiff_plain;h=54d62926b3729d18db173d1e663f03cbf112ad65;p=cobramush.git Fix powers-related bug in @chzone Fixes #272 --- diff --git a/src/set.c b/src/set.c index 214b2c9..5710656 100644 --- 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)