summaryrefslogtreecommitdiff
path: root/src/network
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2010-09-02 20:00:48 +0000
committerfrosch <frosch@openttd.org>2010-09-02 20:00:48 +0000
commit48767d1befdb57bdf8620817ac443838bffae0ad (patch)
treecd200d1e096c6191110f4e5a74ef79b25a0880df /src/network
parent48d8f16653a7ba67815010e5de4e79f97e2f4c4b (diff)
downloadopenttd-48767d1befdb57bdf8620817ac443838bffae0ad.tar.xz
(svn r20720) -Add: separate GUI icons for vehicle/company profit, exclusive rights and unread news.
Diffstat (limited to 'src/network')
-rw-r--r--src/network/network_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_gui.cpp b/src/network/network_gui.cpp
index 1d57179c6..70f21a682 100644
--- a/src/network/network_gui.cpp
+++ b/src/network/network_gui.cpp
@@ -1551,7 +1551,7 @@ struct NetworkLobbyWindow : public Window {
int lock_width = lock_size.width;
int lock_y_offset = (this->resize.step_height - WD_MATRIX_TOP - WD_MATRIX_BOTTOM - lock_size.height) / 2;
- Dimension profit_size = GetSpriteSize(SPR_BLOT);
+ Dimension profit_size = GetSpriteSize(SPR_PROFIT_LOT);
int profit_width = lock_size.width;
int profit_y_offset = (this->resize.step_height - WD_MATRIX_TOP - WD_MATRIX_BOTTOM - profit_size.height) / 2;
@@ -1575,7 +1575,7 @@ struct NetworkLobbyWindow : public Window {
/* If the company's income was positive puts a green dot else a red dot */
if (this->company_info[company].income >= 0) income = true;
- DrawSprite(SPR_BLOT, income ? PALETTE_TO_GREEN : PALETTE_TO_RED, profit_left, y + profit_y_offset);
+ DrawSprite(income ? SPR_PROFIT_LOT : SPR_PROFIT_NEGATIVE, PAL_NONE, profit_left, y + profit_y_offset);
pos++;
y += this->resize.step_height;