Re: [code help]ascii maps???

From: Dan Stagner (Admin) (dans@GOLIATH.MERSINET.CO.UK)
Date: 07/11/97


>
> Hrm.. there are ALOT of things not in circle :)  One thing i noticed
> (which is a really bad side effect) after imp'ing sacrifice (and then
> autosac) was that players seem to be able to sac other players corpses
> (BAD!) hehee... any thoughts on this?
>
> Eliah
> giblets.com 4000

Yeah, just put in a check similar to:
if (GET_OBJ_TYPE(i) == ITEM_CONTAINER && GET_OBJ_VAL(i, 3)) {

it just checks if the item is a container (which a corpse is if you
look at make_corpse) and checks for the TRUE value on the 4th flag, which
means it's a corpse.

should take care of it.

Dan Stagner/Sorphin


      +-----------------------------------------------------------+
      | Ensure that you have read the CircleMUD Mailing List FAQ: |
      |   http://cspo.queensu.ca/~fletcher/Circle/list-faq.html   |
      +-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/08/00 PST