Re: reset_zone

From: Brian Pape (bpape@ezl.com)
Date: 06/26/96


>   While working on some new zone load commands, I found a puzzle. A few
> of the lines read something like...
> if (!(mob = read_mobile(ZCMD[arg1].command, REAL))) Well, close to that,
> its not in front of me at the moment. But if the command is a virtual
> number direct from the zone file, why is it calling read_mobile as type REAL?

because it's not a virtual number direct from the zone file...  in db.c
there is a function called renum_zones() that takes the vnums from the
zone file and converts them to rnums so that it can directly index the
prototype arrays.

Taran.
Reign of Towers
bpape@ezl.com



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