… | |
… | |
1413 | op->map->touch (); |
1413 | op->map->touch (); |
1414 | } |
1414 | } |
1415 | |
1415 | |
1416 | op->map->dirty = true; |
1416 | op->map->dirty = true; |
1417 | |
1417 | |
1418 | /* If we have a floor, we know the player, if any, will be above |
|
|
1419 | * it, so save a few ticks and start from there. |
|
|
1420 | */ |
|
|
1421 | if (!(flag & INS_MAP_LOAD)) |
1418 | if (!(flag & INS_MAP_LOAD)) |
1422 | if (object *pl = ms.player ()) |
1419 | if (object *pl = ms.player ()) |
1423 | pl->contr->ns->floorbox_update (); |
1420 | pl->contr->ns->floorbox_update (); |
1424 | |
1421 | |
1425 | /* If this object glows, it may affect lighting conditions that are |
1422 | /* If this object glows, it may affect lighting conditions that are |
… | |
… | |
2603 | &name, |
2600 | &name, |
2604 | title ? "\",title:\"" : "", |
2601 | title ? "\",title:\"" : "", |
2605 | title ? (const char *)title : "", |
2602 | title ? (const char *)title : "", |
2606 | flag_desc (flagdesc, 512), type); |
2603 | flag_desc (flagdesc, 512), type); |
2607 | |
2604 | |
2608 | if (env) |
2605 | if (!this->flag[FLAG_REMOVED] && env) |
2609 | p += snprintf (p, 256, "(in %s)", env->debug_desc (info2)); |
2606 | p += snprintf (p, 256, "(in %s)", env->debug_desc (info2)); |
2610 | |
2607 | |
2611 | if (map) |
2608 | if (map) |
2612 | p += snprintf (p, 256, "(on %s@%d+%d)", &map->path, x, y); |
2609 | p += snprintf (p, 256, "(on %s@%d+%d)", &map->path, x, y); |
2613 | |
2610 | |