version 1.28 | | version 1.29 |
---|
| | |
/* | | /* |
* static char *rcsid_time_c = | | * static char *rcsid_time_c = |
* "$Id: time.c,v 1.28 2001/08/05 22:34:04 mwedel Exp $"; | | * "$Id: time.c,v 1.29 2001/08/07 14:35:21 avogl Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
void move_teleporter(object *op) { | | void move_teleporter(object *op) { |
| | |
| | |
/* Some things can't get moved. If, skip over them. */ | | /* Floors can't get moved. If, skip over them. */ |
while (op->above && | | while (op->above && QUERY_FLAG(op->above, FLAG_IS_FLOOR)) |
(QUERY_FLAG(op->above, FLAG_NO_PASS) || | | op=op->above; |
QUERY_FLAG(op->above, FLAG_IS_FLOOR))) op=op->above; | | |
| | |
/* If nothing above us, nothing to do */ | | /* If nothing above us, nothing to do */ |
if (!op->above) return; | | if (!op->above) return; |