Re: redit solution revisited

From: Derek L. Karnes (dkarnes@mystech.com)
Date: 10/21/96


> diff -r1.1 redit.c
> 277c277,278
> <                       zone_table[room->zone].number,
> ---
>                       zone_table[OLC_ZNUM(d)].number, /*Serapis mod */
>                       /*zone_table[room->zone].number,*/
>
> ------------------------------------------------------------------------
> > >
> > Hmmmm... looks like this solution will work only if the persons
> > olc (OLC_ZNUM(d)) is set for the zone they are editing... Usually imps in
> > Oasis OLC have their olc value set to 0 still, because they don't have to
> > mess with it since they can already edit any zone.  So try the same fix
> > with your imms (not imps) and see if it works... Or you could always use
> > (room->[whatever the value for vnum is])/100... *grins*
> >
> > --Pegasus of OnyxMUD

OLC_ZNUM(d) is set to the zone of the room you are editing when you start,
using a (very) slightly smarter version of a macro that does the  

"room->[whatever the value for vnum is])/100." 

thing you mentioned :) The person's olc number and the OLC_ZNUM(d) are two
different things.

-Derek Karnes

--
                                    \ | /
                        \  /---------------------\  /
                       --    dkarnes@mystech.com    --
                   --    Serapis, Imp of Dark Pawns    --
                       --    knight.ufp.org 4000    --    
                      --    Open for Beta testing    --    
                        /  \---------------------/  \
                                    / | \
+-----------------------------------------------------------+
| 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/18/00 PST