Fixed initialization of attribute flags
authorAri Johnson <ari@startrekkin.net>
Mon, 19 Feb 2007 18:01:57 +0000 (18:01 +0000)
committerAri Johnson <ari@startrekkin.net>
Sat, 17 Feb 2007 20:23:10 +0000 (20:23 +0000)
(cherry picked from commit 127399614490b3c27476baafedc94158d86a2e5d)

src/attrib.c

index 191bc2fbc233d67abaed4985e8fa58e7b16bdd7c..29ed6b7636072937420bc48e689ada1d3c49fffd 100644 (file)
@@ -428,6 +428,7 @@ create_atr(dbref thing, char const *atr_name)
   /* initialize atr */
   AL_WLock(ptr) = TRUE_BOOLEXP;
   AL_RLock(ptr) = TRUE_BOOLEXP;
+  AL_FLAGS(ptr) = 0;
   AL_NAME(ptr) = name;
   ptr->data = NULL_CHUNK_REFERENCE;