… | |
… | |
2448 | /** |
2448 | /** |
2449 | * This fonction return true if the exit is not a 2 ways one or it is 2 ways, valid exit. |
2449 | * This fonction return true if the exit is not a 2 ways one or it is 2 ways, valid exit. |
2450 | * A valid 2 way exit means: |
2450 | * A valid 2 way exit means: |
2451 | * -You can come back (there is another exit at the other side) |
2451 | * -You can come back (there is another exit at the other side) |
2452 | * -You are |
2452 | * -You are |
2453 | * ° the owner of the exit |
2453 | * ° the owner of the exit |
2454 | * ° or in the same party as the owner |
2454 | * ° or in the same party as the owner |
2455 | * |
2455 | * |
2456 | * Note: a owner in a 2 way exit is saved as the owner's name |
2456 | * Note: a owner in a 2 way exit is saved as the owner's name |
2457 | * in the field exit->name cause the field exit->owner doesn't |
2457 | * in the field exit->name cause the field exit->owner doesn't |
2458 | * survive in the swapping (in fact the whole exit doesn't survive). |
2458 | * survive in the swapping (in fact the whole exit doesn't survive). |
2459 | */ |
2459 | */ |