Re: Checking to see how meny mobs are in a zone and in a room

From: JRhone (ujtr@lady.cs.sunyit.edu)
Date: 04/09/96


> >     if((real_room(i) > 0) && world[i].zone == zone && world[i].people)
>           ^^^^^^^^^^^^^^^^
> Why are you doing this?
> 
> real_room() finds the rnum of a given virtual number, and have nothing to do 
> with the index of the world array. i is the rnum of the room (as you use 

yer right, i just threw it up there out of my head to give em some ideas
that would be a meaningless check as you know it already exists if its 
<= top_of_world

jtrhone



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