mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r2422) - Codechange: magic number fix in network window (anonymous)
This commit is contained in:
parent
fd80208af9
commit
d549523f96
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user