… | |
… | |
568 | { |
568 | { |
569 | // was: insert_ob_in_ob (tmp, op); |
569 | // was: insert_ob_in_ob (tmp, op); |
570 | // but manually adding it can improve map loading times a lot |
570 | // but manually adding it can improve map loading times a lot |
571 | // also, appending instead of prepending keeps the |
571 | // also, appending instead of prepending keeps the |
572 | // save ordering the same between repeated load/saves. |
572 | // save ordering the same between repeated load/saves. |
|
|
573 | // and finally we do not want any funny effects |
573 | CLEAR_FLAG (tmp, FLAG_OBJ_ORIGINAL); |
574 | CLEAR_FLAG (tmp, FLAG_OBJ_ORIGINAL); |
574 | CLEAR_FLAG (tmp, FLAG_REMOVED); |
575 | CLEAR_FLAG (tmp, FLAG_REMOVED); |
575 | |
576 | |
576 | if (!op_inv) |
577 | if (!op_inv) |
577 | { |
578 | { |