Ok, not a coder, but I like to play with it anyhow :p
Shouldn't it be checking for true?
if(door->door_id == door_id && strcasecmp(door->zone_name, zone_name) == 1)
and why is it running thru door types and not door ID's?
for(uint32 i=0; i!=max_door_type;i++)
__________________
Please read the forum rules and look at reacent messages before posting.
|