diff options
author | celestar <celestar@openttd.org> | 2006-04-12 12:24:39 +0000 |
---|---|---|
committer | celestar <celestar@openttd.org> | 2006-04-12 12:24:39 +0000 |
commit | 46eab6aec6268b44032362abe9b95dd5337ecd7a (patch) | |
tree | b018a05e4bb2bcfb2498bfd4810ab3547d1bbd88 | |
parent | 25f3a0614158c67cd7f062daee0f30e929291bec (diff) | |
download | openttd-46eab6aec6268b44032362abe9b95dd5337ecd7a.tar.xz |
(svn r4382) -Codechange: Make use of SetSignalType where appropriate
-rw-r--r-- | rail_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |