version 1.93 | | version 1.94 |
---|
| | |
/* | | /* |
* static char *rcsid_init_c = | | * static char *rcsid_init_c = |
* "$Id: request.c,v 1.93 2006/05/21 10:35:11 akirschbaum Exp $"; | | * "$Id: request.c,v 1.94 2006/05/30 07:16:23 mwedel Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
*/ | | */ |
if (m_ob->face->visibility >= t_ob->face->visibility) { | | if (m_ob->face->visibility >= t_ob->face->visibility) { |
if (ob->face->visibility >= t_ob->face->visibility) { | | if (ob->face->visibility >= t_ob->face->visibility) { |
| | if (t_ob->type == PLAYER) { |
| | m_ob = t_ob; |
| | m_layer = t_layer; |
| | } |
t_ob = ob; | | t_ob = ob; |
t_layer = o_layer; | | t_layer = o_layer; |
} | | } |
} else if (ob->face->visibility >= m_ob->face->visibility) { | | } else if (ob->face->visibility >= m_ob->face->visibility) { |
| | if (m_ob->type != PLAYER) { |
m_ob = t_ob; | | m_ob = t_ob; |
m_layer = t_layer; | | m_layer = t_layer; |
| | } |
t_ob = ob; | | t_ob = ob; |
t_layer = o_layer; | | t_layer = o_layer; |
} | | } |