projects
/
cobramush.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7992428
)
Flags stored in the main database could not be loaded correctly cause flagdb-flags...
author
nveid
<nveid@cobramush.org>
Wed, 4 Apr 2007 05:42:41 +0000
(
05:42
+0000)
committer
nveid
<nveid@cobramush.org>
Wed, 4 Apr 2007 05:42:41 +0000
(
05:42
+0000)
game/txt/changes/0.72p4
patch
|
blob
|
history
src/db.c
patch
|
blob
|
history
diff --git
a/game/txt/changes/0.72p4
b/game/txt/changes/0.72p4
index d0e20df46789f8aa80078b48225f4ea9ab814027..95604208394e218d468f72933869182c450cc4f1 100644
(file)
--- a/
game/txt/changes/0.72p4
+++ b/
game/txt/changes/0.72p4
@@
-9,4
+9,4
@@
CobraMUSH Version 0.72p4
It is the fourth bugfix/maintenance release in that series.
Fixes:
-
+ * Flags stored in the main database were not being loaded correctly. [RLB]
diff --git
a/src/db.c
b/src/db.c
index 93221711160704a270f2b20065abca12b4588edc..ed277ddcfa6aa1eb799febe8049fdd98e825fdb7 100644
(file)
--- a/
src/db.c
+++ b/
src/db.c
@@
-1,7
+1,7
@@
/**
* \file db.c
*
- * \brief Loading and saving the
Penn
MUSH object database.
+ * \brief Loading and saving the
Cobra
MUSH object database.
*
*
*/
@@
-1700,6
+1700,9
@@
db_read(FILE * f)
return -1;
}
indb_flags = ((getref(f) - 2) / 256) - 5;
+ /* give us some brains.. for if we're using the flagfile or not */
+ if(!use_flagfile)
+ flagdb_flags = indb_flags;
/* if you want to read in an old-style database, use an earlier
* patchlevel to upgrade.
*/