On Fri, 11 Jun 1999, Nocturnal Occulto wrote: >That still doesnt fix it though george, since rnum is always -1 now >whenever a new mob is added the only time rnum has another value is when >a mobile exists. So addign new mob is still broken ;) Duh. Was in a hurry. GET_MOB_RNUM(live_mob) += (GET_MOB_RNUM(live_mob) >= found); ^^^ /* * Update zone table. */ for (zone = 0; zone <= top_of_zone_table; zone++) for (cmd_no = 0; ZCMD(zone, cmd_no).command != 'S'; cmd_no++) if (ZCMD(zone, cmd_no).command == 'M') ZCMD(zone, cmd_no).arg1 += (ZCMD(zone, cmd_no).arg1 >= rnum); ^^ Make that 'found' instead. -- George Greer greerga@circlemud.org +------------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST