Bug-Fix: medit mob flags bug where wrong flag is set

This commit is contained in:
JamDog 2010-12-16 01:04:04 +00:00
parent ba83b532b1
commit b6b105dd67
2 changed files with 3 additions and 1 deletions

View file

@ -35,6 +35,8 @@ export (QQ's a zone into a tarball)
Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist) Xlist (mlist, olist, rlist, zlist, slist, tlist, qlist)
(lots of major bugfixes too) (lots of major bugfixes too)
@ @
[Dec 16 2010] - Jamdog
Bug-Fix: Fixed illegal mob flag bug where medit set wrong flag
[Dec 10 2010] - Jamdog [Dec 10 2010] - Jamdog
Minor bug fixes, added MAIL flag names and fixed compile warnings Minor bug fixes, added MAIL flag names and fixed compile warnings
Bug Fix: Alignment in medit now saves when it's the only thing edited (thanks cosine_omerta) Bug Fix: Alignment in medit now saves when it's the only thing edited (thanks cosine_omerta)

View file

@ -887,7 +887,7 @@ void medit_parse(struct descriptor_data *d, char *arg)
write_to_output(d, "Enter mob flags (0 to quit) :"); write_to_output(d, "Enter mob flags (0 to quit) :");
return; return;
} else if (j <= NUM_MOB_FLAGS) { } else if (j <= NUM_MOB_FLAGS) {
TOGGLE_BIT_AR(MOB_FLAGS(OLC_MOB(d)), (i - 1)); TOGGLE_BIT_AR(MOB_FLAGS(OLC_MOB(d)), (j));
} }
medit_disp_mob_flags(d); medit_disp_mob_flags(d);
return; return;