(svn r2434) Fix some defects in r2433

This commit is contained in:
tron
2005-06-08 09:03:29 +00:00
parent 0171aae109
commit ea0f21fbcc
2 changed files with 2 additions and 2 deletions

View File

@@ -374,7 +374,7 @@ int32 CmdBuildSingleRail(int x, int y, uint32 flags, uint32 p1, uint32 p2)
break;
}
if (IsLevelCrossing(tile) == 0x10 && (m5 & 0x08 ? 1 : 2) == rail_bit)
if (IsLevelCrossing(tile) && (m5 & 0x08 ? 1 : 2) == rail_bit)
return_cmd_error(STR_1007_ALREADY_BUILT);
/* FALLTHROUGH */