Changeset - r3854:7e6d7780c433
[Not reviewed]
master
0 1 0
celestar - 18 years ago 2006-05-16 12:31:15
celestar@openttd.org
(svn r4882) -Fix: Forgot a change in previous commit
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
tunnelbridge_cmd.c
Show inline comments
 
@@ -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);
 
	}
0 comments (0 inline, 0 general)