Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2011-07-31 18:24:01 +0000
committerStijn Buys <ingar@osirion.org>2011-07-31 18:24:01 +0000
commit45054b224d8f0f8b6d7db4bcd0b0abf6763a60ab (patch)
treec23ea79d4564037673312ea1d4cb936272c65a06 /src/client/buymenu.cc
parentf0cbe1d0655013d14dd4f1807ddb88789ae8d27a (diff)
Improved map window, moved the actual map widget into a seperate class.
Diffstat (limited to 'src/client/buymenu.cc')
-rw-r--r--src/client/buymenu.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/buymenu.cc b/src/client/buymenu.cc
index 61198d3..6812bce 100644
--- a/src/client/buymenu.cc
+++ b/src/client/buymenu.cc
@@ -99,6 +99,7 @@ void BuyMenu::set_item(core::Info *info)
if (menu_inforecord->type() && menu_inforecord->label().size()) {
menu_namelabel->set_text(menu_inforecord->name());
menu_modelview->set_modelname(menu_inforecord->modelname());
+ menu_modelview->set_colors(core::localplayer()->color(), core::localplayer()->color_second());
menu_buybutton->set_command("remote buy " + menu_inforecord->type()->label() + ' ' + menu_inforecord->label() + "; view hide");
menu_buybutton->set_label("buy " + menu_inforecord->type()->label() + ' ' + menu_inforecord->label());