(svn r99) Fix: [992726] No tunnel crash (Celestar)

This commit is contained in:
dominik
2004-08-21 09:57:02 +00:00
parent 430beacf4c
commit e1d92ebcc9
3 changed files with 27 additions and 8 deletions

View File

@@ -581,7 +581,7 @@ int32 CmdBuildTunnel(int x, int y, uint32 flags, uint32 p1, uint32 p2)
static const byte _updsignals_tunnel_dir[4] = { 5, 7, 1, 3};
static uint CheckTunnelBusy(uint tile, int *length)
uint CheckTunnelBusy(uint tile, int *length)
{
int z = GetTileZ(tile);
byte m5 = _map5[tile];