version 1.45 | | version 1.46 |
---|
| | |
/* | | /* |
* static char *rcsid_map_c = | | * static char *rcsid_map_c = |
* "$Id: map.c,v 1.45 2002/10/29 21:26:36 garbled Exp $"; | | * "$Id: map.c,v 1.46 2002/11/06 09:47:23 garbled Exp $"; |
*/ | | */ |
| | |
/* | | /* |
| | |
switch(i) { | | switch(i) { |
case LL_NORMAL: | | case LL_NORMAL: |
/* if we are loading an overlay, put the floors on the bottom */ | | /* if we are loading an overlay, put the floors on the bottom */ |
if (QUERY_FLAG(op, FLAG_IS_FLOOR) && mapflags & MAP_OVERLAY) | | if ((QUERY_FLAG(op, FLAG_IS_FLOOR) || |
| | QUERY_FLAG(op, FLAG_OVERLAY_FLOOR)) && mapflags & MAP_OVERLAY) |
insert_ob_in_map(op,m,op,INS_NO_MERGE | INS_NO_WALK_ON | INS_ABOVE_FLOOR_ONLY); | | insert_ob_in_map(op,m,op,INS_NO_MERGE | INS_NO_WALK_ON | INS_ABOVE_FLOOR_ONLY); |
else | | else |
insert_ob_in_map(op,m,op,INS_NO_MERGE | INS_NO_WALK_ON | INS_ON_TOP); | | insert_ob_in_map(op,m,op,INS_NO_MERGE | INS_NO_WALK_ON | INS_ON_TOP); |