> you had:
> if(buried(obj))
> remove_flag(obj)
> else
> add_flag(obj)
Actually, the code was more like:
if (buried(obj)) {
remove_flag(obj)
if (can_see(obj)) {
/* char picks up the object */
} else {
add_flag(obj)
}
}
Which seems necessary assuming that "can_see" only "sees" objects that
aren't buried.
Mike
--
+---------------------------------------------------------------+
| FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
| Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
+---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/05/01 PST