diff options
author | Darkvater <darkvater@openttd.org> | 2005-06-06 14:11:15 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2005-06-06 14:11:15 +0000 |
commit | d549523f965f9f2490f4e2cd467780ff2e18295c (patch) | |
tree | f695f77b3cd30aa3d9ab5697f6866cd49d03d780 | |
parent | fd80208af9fd2c739a2483d03782d57ee1e51f0a (diff) | |
download | openttd-d549523f965f9f2490f4e2cd467780ff2e18295c.tar.xz |
(svn r2422) - Codechange: magic number fix in network window (anonymous)
-rw-r--r-- | network_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/network_gui.c b/network_gui.c index 25f308616..95911fa8a 100644 --- a/network_gui.c +++ b/network_gui.c @@ -164,7 +164,7 @@ static void NetworkGameWindowWndProc(Window *w, WindowEvent *e) DrawSprite(SPR_LOCK, 186, y-1); // draw red or green icon, depending on compatibility with server. - DrawSprite(SPR_BLOT | (compatible?0x30d8000:0x30b8000), 195, y); + DrawSprite(SPR_BLOT | (compatible ? PALETTE_TO_GREEN : PALETTE_TO_RED), 195, y); // draw flag according to server language DrawSprite(SPR_FLAGS_BASE + cur_item->info.server_lang, 206, y); |