equal
deleted
inserted
replaced
3057 continue; |
3057 continue; |
3058 } |
3058 } |
3059 /* left tunnel/bridge wormhole */ |
3059 /* left tunnel/bridge wormhole */ |
3060 dir = v->direction; |
3060 dir = v->direction; |
3061 enterdir = INVALID_DIAGDIR; |
3061 enterdir = INVALID_DIAGDIR; |
|
3062 entering_new_tile = true; |
3062 if (IsBridgeTile(gp.new_tile) && res & 0x4) { |
3063 if (IsBridgeTile(gp.new_tile) && res & 0x4) { |
3063 /* ok we have just left the bridge (because the status was "onbridge" before and we got |
3064 /* ok we have just left the bridge (because the status was "onbridge" before and we got |
3064 a return value of 4 from VehicleEnterTile. we know the enterdir from the bridge ramp |
3065 a return value of 4 from VehicleEnterTile. we know the enterdir from the bridge ramp |
3065 direction, and act as if we entered the tile normally (hence the goto) */ |
3066 direction, and act as if we entered the tile normally (hence the goto) */ |
3066 dir = v->direction; |
3067 dir = v->direction; |