… | |
… | |
1281 | // check whether the face might needs to be updated |
1281 | // check whether the face might needs to be updated |
1282 | // (currently this is needed to have already switched on torches |
1282 | // (currently this is needed to have already switched on torches |
1283 | // on maps, as they just set the glow_radius in the archetype) |
1283 | // on maps, as they just set the glow_radius in the archetype) |
1284 | if (op->other_arch |
1284 | if (op->other_arch |
1285 | && ( |
1285 | && ( |
|
|
1286 | (op->flag [FLAG_ANIMATE] != op->other_arch->flag [FLAG_ANIMATE]) |
1286 | op->flag [FLAG_ANIMATE] |
1287 | || (op->flag [FLAG_ANIMATE] |
1287 | ? (op->animation_id != op->other_arch->animation_id) |
1288 | ? (op->animation_id != op->other_arch->animation_id) |
1288 | : (op->face != op->other_arch->face) |
1289 | : (op->face != op->other_arch->face)) |
1289 | )) |
1290 | )) |
1290 | get_animation_from_arch (op, op->other_arch); |
1291 | get_animation_from_arch (op, op->other_arch); |
1291 | } |
1292 | } |
1292 | |
1293 | |
1293 | // lamps and torches auf maps don't use up their fuel |
1294 | // lamps and torches auf maps don't use up their fuel |