# HG changeset patch # User celestar # Date 2006-05-16 12:31:15 # Node ID 7e6d7780c433ea336d1d80f0e9eea882629fa562 # Parent b01a0261b5051064ecaf63c63c9fd3e9283b0da6 (svn r4882) -Fix: Forgot a change in previous commit diff --git a/tunnelbridge_cmd.c b/tunnelbridge_cmd.c --- a/tunnelbridge_cmd.c +++ b/tunnelbridge_cmd.c @@ -228,10 +228,10 @@ int32 CmdBuildBridge(TileIndex end_tile, if (x == sx) { if (y == sy) return_cmd_error(STR_5008_CANNOT_START_AND_END_ON); direction = AXIS_Y; - if (y > sy) intswap(y,sy); + if (y > sy) uintswap(y,sy); } else if (y == sy) { direction = AXIS_X; - if (x > sx) intswap(x,sx); + if (x > sx) uintswap(x,sx); } else { return_cmd_error(STR_500A_START_AND_END_MUST_BE_IN); }