From 46eab6aec6268b44032362abe9b95dd5337ecd7a Mon Sep 17 00:00:00 2001 From: celestar Date: Wed, 12 Apr 2006 12:24:39 +0000 Subject: (svn r4382) -Codechange: Make use of SetSignalType where appropriate --- rail_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rail_cmd.c b/rail_cmd.c index 2d17af000..4947fb7ab 100644 --- a/rail_cmd.c +++ b/rail_cmd.c @@ -670,7 +670,7 @@ int32 CmdBuildSingleSignal(TileIndex tile, uint32 flags, uint32 p1, uint32 p2) _m[tile].m5 |= RAIL_TYPE_SIGNALS; // change into signals _m[tile].m2 |= 0xF0; // all signals are on _m[tile].m3 &= ~0xF0; // no signals built by default - _m[tile].m4 = 0; + SetSignalType(tile, SIGTYPE_NORMAL); SetSignalVariant(tile, sigvar); } -- cgit v1.2.3-70-g09d2