diff options
author | rubidium <rubidium@openttd.org> | 2009-02-09 01:06:23 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-09 01:06:23 +0000 |
commit | 66cb1fe1ff78b80f0acebdcadf0818f70090eab1 (patch) | |
tree | 3fb8cd8b4041aa509972f5b01531eb874e6c113d /src/misc_cmd.cpp | |
parent | a7264bd5aa15e2776a180b403d9d00ed180371eb (diff) | |
download | openttd-66cb1fe1ff78b80f0acebdcadf0818f70090eab1.tar.xz |
(svn r15423) -Codechange: split widget related types to their own header and add a bit of type strictness.
Diffstat (limited to 'src/misc_cmd.cpp')
-rw-r--r-- | src/misc_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/misc_cmd.cpp b/src/misc_cmd.cpp index 6a3077230..ce7407c01 100644 --- a/src/misc_cmd.cpp +++ b/src/misc_cmd.cpp @@ -53,7 +53,7 @@ CommandCost CmdSetCompanyColor(TileIndex tile, uint32 flags, uint32 p1, uint32 p { if (p2 >= 16) return CMD_ERROR; // max 16 colours - byte colour = p2; + Colours colour = (Colours)p2; LiveryScheme scheme = (LiveryScheme)GB(p1, 0, 8); byte state = GB(p1, 8, 2); |